fix bug
This commit is contained in:
parent
2c4a7af616
commit
0c5d7e888b
@ -4,8 +4,9 @@ plugins {
|
||||
// alias(libs.plugins.firebase.crashlytics)
|
||||
// alias(libs.plugins.firebase.perf)
|
||||
id("com.google.gms.google-services")
|
||||
// id("com.google.firebase.crashlytics")
|
||||
id("com.google.firebase.firebase-perf")
|
||||
// id("com.google.firebase.crashlytics")
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ public class GPplicationLoadingdefault extends Application {
|
||||
@Override
|
||||
public void onActivityStopped(@NonNull Activity activity) {
|
||||
activityCount--;
|
||||
if (activityCount < 0 && !isBackground) {
|
||||
if (activityCount <= 0 && !isBackground) {
|
||||
isBackground = true;
|
||||
EventBus.getDefault().post(ITItem.Constants_AppLeave);
|
||||
}
|
||||
@ -91,6 +91,12 @@ public class GPplicationLoadingdefault extends Application {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onTerminate() {
|
||||
EventBus.getDefault().post(ITItem.Constants_AppLeave);
|
||||
LogUtils.d("onTerminate called");
|
||||
super.onTerminate();
|
||||
}
|
||||
|
||||
public void initAdjustSdk() {
|
||||
String appToken = "13rbja4f9jts";
|
||||
|
@ -0,0 +1,67 @@
|
||||
package com.shortdrama.jelly.zyreotv.beginning;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.annotation.OptIn;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
import androidx.media3.database.StandaloneDatabaseProvider;
|
||||
import androidx.media3.datasource.DataSource;
|
||||
import androidx.media3.datasource.DefaultHttpDataSource;
|
||||
import androidx.media3.datasource.cache.CacheDataSource;
|
||||
import androidx.media3.datasource.cache.LeastRecentlyUsedCacheEvictor;
|
||||
import androidx.media3.datasource.cache.SimpleCache;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class GSExplayCacheUtils {
|
||||
|
||||
private static DataSource.Factory cacheFactory = null;
|
||||
|
||||
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
public static DataSource.Factory getCacheFactory(Context ctx) {
|
||||
Map<String, Boolean> buffer0 = new HashMap<>();
|
||||
buffer0.put("indentation", true);
|
||||
buffer0.put("steal", false);
|
||||
buffer0.put("xuvmvs", true);
|
||||
buffer0.put("preupdate", true);
|
||||
|
||||
while (buffer0.size() > 12) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (cacheFactory == null) {
|
||||
long bufferQ = 3816L;
|
||||
if (bufferQ <= 180L) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
File settingClientListen = new File(ctx.getFilesDir(), "videos");
|
||||
String modityY = "types";
|
||||
while (modityY.length() > 25) {
|
||||
break;
|
||||
}
|
||||
|
||||
SimpleCache backgroundTouchSingle = new SimpleCache(
|
||||
settingClientListen,
|
||||
new LeastRecentlyUsedCacheEvictor(1024L * 1024L * 512L),
|
||||
new StandaloneDatabaseProvider(ctx)
|
||||
);
|
||||
|
||||
int progressbarB = 3948;
|
||||
while (progressbarB > 151) {
|
||||
break;
|
||||
}
|
||||
System.out.println(progressbarB);
|
||||
|
||||
cacheFactory = new CacheDataSource.Factory()
|
||||
.setCache(backgroundTouchSingle)
|
||||
.setUpstreamDataSourceFactory(new DefaultHttpDataSource.Factory())
|
||||
.setFlags(CacheDataSource.FLAG_IGNORE_CACHE_ON_ERROR);
|
||||
}
|
||||
|
||||
return cacheFactory;
|
||||
}
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
package com.shortdrama.jelly.zyreotv.beginning;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.PorterDuffXfermode;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.PorterDuffXfermode;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
|
||||
import androidx.core.util.Pair;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public class ImageUtils {
|
||||
|
||||
public static Bitmap getRoundedTopCornerBitmap(Bitmap bitmap, float roundPx) {
|
||||
|
||||
|
||||
Bitmap countService = Bitmap.createBitmap(bitmap.getWidth(), bitmap.getHeight(), Bitmap.Config.ARGB_8888);
|
||||
|
||||
Canvas prigressApiDetails = new Canvas(countService);
|
||||
Paint paint = new Paint();
|
||||
int bufferq = -0xbdbdbe;
|
||||
Map<String, Float> direHj = new HashMap<>();
|
||||
direHj.put("fiel", 647.0f);
|
||||
direHj.put("preset", 849.0f);
|
||||
direHj.put("codecraw", 529.0f);
|
||||
direHj.put("opt", 690.0f);
|
||||
direHj.put("role", 15.0f);
|
||||
Rect boldTotalRight = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight());
|
||||
RectF daysh = new RectF(boldTotalRight);
|
||||
// daysh.right = roundPx;
|
||||
// daysh.bottom = roundPx;
|
||||
Map<String, Float> removeX = new HashMap<>();
|
||||
removeX.put("announcement", 959.0f);
|
||||
removeX.put("avatar", 5.0f);
|
||||
removeX.put("trending", 83.0f);
|
||||
removeX.put("tapt", 79.0f);
|
||||
paint.setAntiAlias(true);
|
||||
prigressApiDetails.drawARGB(0, 0, 0, 0);
|
||||
|
||||
paint.setColor(bufferq);
|
||||
|
||||
prigressApiDetails.drawRoundRect(daysh, roundPx, roundPx, paint);
|
||||
paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_IN));
|
||||
prigressApiDetails.drawBitmap(bitmap, boldTotalRight, boldTotalRight, paint);
|
||||
return countService;
|
||||
}
|
||||
}
|
||||
|
@ -192,9 +192,9 @@ public interface KGZyreotv {
|
||||
|
||||
@GET("getCustomerOrder")
|
||||
Observable<IMACloseStroke<ZYTCommonListBean<ZYTUserTypeRecordsBean>>> getOrder(@Query("buy_type") String buytype, @Query("current_page") int currentPage, @Query("page_size") int pageSize);
|
||||
|
||||
@GET("sendCoinList")
|
||||
Observable<IMACloseStroke<ZYTCommonListBean<ZYTUserSendCoinsBean>>> getSendOrder(@Query("current_page") int currentPage, @Query("page_size") int pageSize);
|
||||
@FormUrlEncoded
|
||||
@POST("sendCoinList")
|
||||
Observable<IMACloseStroke<ZYTCommonListBean<ZYTUserSendCoinsBean>>> getSendOrder(@Field("current_page") int currentPage, @Field("page_size") int pageSize);
|
||||
|
||||
|
||||
@FormUrlEncoded
|
||||
|
@ -717,14 +717,34 @@ public class GXCProgressLogin extends ViewModel {
|
||||
VZBack.getInstance().enterApp()
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe();
|
||||
.subscribe(new RREStyles<IMACloseStroke>() {
|
||||
@Override
|
||||
public void onSuccess(IMACloseStroke o) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void leaveApp() {
|
||||
VZBack.getInstance().leaveApp()
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe();
|
||||
.subscribe(new RREStyles<IMACloseStroke>() {
|
||||
@Override
|
||||
public void onSuccess(IMACloseStroke o) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@ -732,7 +752,17 @@ public class GXCProgressLogin extends ViewModel {
|
||||
VZBack.getInstance().onLine()
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe();
|
||||
.subscribe(new RREStyles<IMACloseStroke>() {
|
||||
@Override
|
||||
public void onSuccess(IMACloseStroke o) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@ -740,7 +770,17 @@ public class GXCProgressLogin extends ViewModel {
|
||||
VZBack.getInstance().actionPush(name)
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe();
|
||||
.subscribe(new RREStyles<IMACloseStroke>() {
|
||||
@Override
|
||||
public void onSuccess(IMACloseStroke o) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -886,7 +926,17 @@ public class GXCProgressLogin extends ViewModel {
|
||||
VZBack.getInstance().openNotify()
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe();
|
||||
.subscribe(new RREStyles<IMACloseStroke>() {
|
||||
@Override
|
||||
public void onSuccess(IMACloseStroke o) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void logoOff() {
|
||||
|
@ -110,6 +110,7 @@ public class ZYTWalletActivity extends IDDetailsRoundActivity<ActivityWalletZytB
|
||||
binding.recyclerviewSelected.setVisibility(GONE);
|
||||
});
|
||||
binding.smartrefreshlayoutMywallet.setOnLoadMoreListener(refreshLayout -> {
|
||||
|
||||
currentPage++;
|
||||
requestData();
|
||||
binding.recyclerviewSelected.setVisibility(GONE);
|
||||
|
@ -1203,13 +1203,33 @@ public class XSLockPlaylist extends ViewModel {
|
||||
VZBack.getInstance().uploadHistorySenconds(lastseconds, shortplayId, videoId)
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe();
|
||||
.subscribe(new RREStyles<IMACloseStroke>() {
|
||||
@Override
|
||||
public void onSuccess(IMACloseStroke o) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void activeAfterWatchingVideo(int shortplayid, int videoid, int activityId) {
|
||||
VZBack.getInstance().activeAfterWatchingVideo(shortplayid, videoid, activityId)
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe();
|
||||
.subscribe(new RREStyles<IMACloseStroke>() {
|
||||
@Override
|
||||
public void onSuccess(IMACloseStroke o) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
@ -30,6 +30,7 @@ import androidx.media3.datasource.DataSource;
|
||||
import androidx.media3.datasource.DefaultDataSourceFactory;
|
||||
import androidx.media3.exoplayer.ExoPlayer;
|
||||
import androidx.media3.exoplayer.hls.HlsMediaSource;
|
||||
import androidx.media3.exoplayer.source.DefaultMediaSourceFactory;
|
||||
import androidx.media3.exoplayer.source.MediaSource;
|
||||
import androidx.media3.exoplayer.source.ProgressiveMediaSource;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
@ -38,7 +39,9 @@ import androidx.viewpager2.widget.ViewPager2;
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.shortdrama.jelly.zyreotv.GPplicationLoadingdefault;
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.GSExplayCacheUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.ITItem;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.LogUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.PAYLoginHeaddefault;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.REnterCircle;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TIndicator;
|
||||
@ -67,6 +70,7 @@ import org.greenrobot.eventbus.ThreadMode;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Objects;
|
||||
|
||||
public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDimensHeaderBinding> implements
|
||||
WVideoplay.QUnitActivity, CClickFragment.EONCategory {
|
||||
@ -122,6 +126,7 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
}
|
||||
|
||||
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
@Override
|
||||
public void initView() {
|
||||
viewBinding.avi.smoothToShow();
|
||||
@ -203,9 +208,7 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
}
|
||||
});
|
||||
|
||||
player = new ExoPlayer.Builder(this).
|
||||
|
||||
build();
|
||||
player = new ExoPlayer.Builder(this).setMediaSourceFactory(new DefaultMediaSourceFactory(GSExplayCacheUtils.getCacheFactory(this))).build();
|
||||
viewBinding.viewVideoRecommend.recommendPlayerView.setPlayer(player);
|
||||
iv_cover_recommend_detail =
|
||||
viewBinding.viewVideoRecommend.recommendPlayerView.findViewById(R.id.iv_cover_recommend_detail);
|
||||
@ -417,7 +420,7 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
ITItem.isLock = false;
|
||||
needRefresh = false;
|
||||
viewBinding.viewLock.getRoot().setVisibility(View.INVISIBLE);
|
||||
if (vtGooglePlayerAdapter.getItems() != null && vtGooglePlayerAdapter.getItems().get(currentPosition) != null) {
|
||||
if (vtGooglePlayerAdapter.getItems().get(currentPosition) != null) {
|
||||
LSQExampleCloseBean.YPZTestUnselect get = vtGooglePlayerAdapter.getItems().get(currentPosition);
|
||||
get.setIs_lock(false);
|
||||
vtGooglePlayerAdapter.notifyItemChanged(currentPosition);
|
||||
@ -513,9 +516,9 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
}
|
||||
PAYLoginHeaddefault.revealToast(getString(R.string.google_pay_success), 0);
|
||||
needRefresh = true;
|
||||
// LSQExampleCloseBean.YPZTestUnselect item = vtGooglePlayerAdapter.getItems().get(currentPosition);
|
||||
// vtViewModel.getVideoDetails(item.getShort_play_id(), item.getShort_play_video_id());
|
||||
userViewModel.getUserInfo();
|
||||
// LSQExampleCloseBean.YPZTestUnselect item = vtGooglePlayerAdapter.getItems().get(currentPosition);
|
||||
// vtViewModel.getVideoDetails(item.getShort_play_id(), item.getShort_play_video_id(),activity_id);
|
||||
|
||||
|
||||
}
|
||||
@ -531,6 +534,7 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
if (data.isIs_vip() && needRefresh) {
|
||||
detailRefresh();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -610,8 +614,7 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
// 假设 pageGoogleExoPlayerView 方法在父类或者其他地方有定义
|
||||
private BVXHeadView pageGoogleExoPlayerView() {
|
||||
RecyclerView recyclerView = (RecyclerView) viewBinding.viewPagerVtEpisode.getChildAt(0);
|
||||
BVXHeadView googleExoPlayerView = (BVXHeadView) recyclerView.getLayoutManager().findViewByPosition(currentPosition);
|
||||
return googleExoPlayerView;
|
||||
return (BVXHeadView) Objects.requireNonNull(recyclerView.getLayoutManager()).findViewByPosition(currentPosition);
|
||||
}
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
@ -764,19 +767,23 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
ITItem.isCanPlay = false;
|
||||
zytGooglePayUtils.clearInstance();
|
||||
viewBinding.viewPagerVtEpisode.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (pageGoogleExoPlayerView() != null) {
|
||||
LogUtils.d("pageGoogleExoPlayerView() != null");
|
||||
pageGoogleExoPlayerView().stop();
|
||||
pageGoogleExoPlayerView().release();
|
||||
pageGoogleExoPlayerView().setPlayerNull();
|
||||
}
|
||||
player.stop();
|
||||
player.release();
|
||||
player = null;
|
||||
if (pageGoogleExoPlayerView() != null) pageGoogleExoPlayerView().stop();
|
||||
if (pageGoogleExoPlayerView() != null) pageGoogleExoPlayerView().release();
|
||||
}
|
||||
});
|
||||
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
zytGooglePayUtils.clearInstance();
|
||||
super.onDestroy();
|
||||
EventBus.getDefault().unregister(this);
|
||||
System.gc();
|
||||
|
@ -10,6 +10,7 @@ import android.widget.FrameLayout;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.SeekBar;
|
||||
|
||||
import androidx.annotation.OptIn;
|
||||
import androidx.appcompat.widget.AppCompatImageView;
|
||||
import androidx.appcompat.widget.AppCompatSeekBar;
|
||||
import androidx.appcompat.widget.AppCompatTextView;
|
||||
@ -17,12 +18,16 @@ import androidx.media3.common.C;
|
||||
import androidx.media3.common.MediaItem;
|
||||
import androidx.media3.common.PlaybackException;
|
||||
import androidx.media3.common.Player;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
import androidx.media3.exoplayer.ExoPlayer;
|
||||
import androidx.media3.exoplayer.source.DefaultMediaSourceFactory;
|
||||
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.shortdrama.jelly.zyreotv.GPplicationLoadingdefault;
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.GSExplayCacheUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.ITItem;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.LogUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.PAYLoginHeaddefault;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TimeUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.XYBGoryShare;
|
||||
@ -61,9 +66,10 @@ public class BVXHeadView extends FrameLayout {
|
||||
|
||||
private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
|
||||
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
public BVXHeadView(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
player = new ExoPlayer.Builder(context).build();
|
||||
player = new ExoPlayer.Builder(context).setMediaSourceFactory(new DefaultMediaSourceFactory(GSExplayCacheUtils.getCacheFactory(context))).build();
|
||||
LayoutInflater inflater = LayoutInflater.from(context);
|
||||
View inflate = inflater.inflate(R.layout.kbv_follow_unit, this, true);
|
||||
KbvFollowUnitBinding bind = KbvFollowUnitBinding.bind(inflate);
|
||||
@ -161,7 +167,7 @@ public class BVXHeadView extends FrameLayout {
|
||||
progressRunnable = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (!isDragging) {
|
||||
if (!isDragging&&player!=null) {
|
||||
long duration = player.getDuration();
|
||||
long position = player.getCurrentPosition();
|
||||
int progress = (int) (position * 100 / (duration == C.TIME_UNSET ? 1 : duration));
|
||||
@ -264,12 +270,15 @@ public class BVXHeadView extends FrameLayout {
|
||||
}
|
||||
|
||||
public void suspendPlayer() {
|
||||
if(player!=null){
|
||||
player.pause();
|
||||
ivPagePlay.setImageResource(R.mipmap.cate_playinfo);
|
||||
isEpisodePlaying = false;
|
||||
isDragging = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void seekTo(int progress) {
|
||||
long duration = player.getDuration();
|
||||
player.seekTo(duration * progress / 100);
|
||||
@ -315,7 +324,11 @@ public class BVXHeadView extends FrameLayout {
|
||||
}
|
||||
|
||||
public void release() {
|
||||
player.release();
|
||||
stopProgressJob();
|
||||
player.release();
|
||||
}
|
||||
|
||||
public void setPlayerNull(){
|
||||
player=null;
|
||||
}
|
||||
}
|
@ -10,7 +10,6 @@ import java.util.Random;
|
||||
import java.util.HashMap;
|
||||
|
||||
|
||||
|
||||
import android.content.Context;
|
||||
import android.net.Uri;
|
||||
import android.util.AttributeSet;
|
||||
@ -20,6 +19,7 @@ import android.widget.FrameLayout;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.SeekBar;
|
||||
|
||||
import androidx.annotation.OptIn;
|
||||
import androidx.appcompat.widget.AppCompatImageView;
|
||||
import androidx.appcompat.widget.AppCompatSeekBar;
|
||||
import androidx.appcompat.widget.AppCompatTextView;
|
||||
@ -28,11 +28,14 @@ import androidx.media3.common.C;
|
||||
import androidx.media3.common.MediaItem;
|
||||
import androidx.media3.common.PlaybackException;
|
||||
import androidx.media3.common.Player;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
import androidx.media3.exoplayer.ExoPlayer;
|
||||
import androidx.media3.exoplayer.source.DefaultMediaSourceFactory;
|
||||
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.GPplicationLoadingdefault;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.GSExplayCacheUtils;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.KdEcyrptRewardsBinding;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.DBeanUnselectBean;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TimeUtils;
|
||||
@ -48,15 +51,11 @@ import java.util.concurrent.ScheduledFuture;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class XCcountView extends FrameLayout {
|
||||
private volatile boolean has_UtilsLayout = false;
|
||||
private volatile ArrayList<Double> rulesKeyVideohistoryArray;
|
||||
|
||||
|
||||
|
||||
private ExoPlayer player;
|
||||
|
||||
private ScheduledFuture<?> progressJob;
|
||||
@ -80,9 +79,10 @@ private volatile ArrayList<Double> rulesKeyVideohistoryArray;
|
||||
private CardView ccountButton;
|
||||
private boolean stringManifest = false;
|
||||
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
public XCcountView(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
player = new ExoPlayer.Builder(context).build();
|
||||
player = new ExoPlayer.Builder(context).setMediaSourceFactory(new DefaultMediaSourceFactory(GSExplayCacheUtils.getCacheFactory(context))).build();
|
||||
LayoutInflater inflater = LayoutInflater.from(context);
|
||||
View inflate = inflater.inflate(R.layout.kd_ecyrpt_rewards, this, true);
|
||||
KdEcyrptRewardsBinding bind = KdEcyrptRewardsBinding.bind(inflate);
|
||||
@ -126,7 +126,6 @@ private HashMap collectScrollSearch() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onPlaybackStateChanged(int playbackState) {
|
||||
|
||||
@ -152,14 +151,17 @@ System.out.println(recidRetransmission);
|
||||
gradlewC.put("inner", 312.0f);
|
||||
gradlewC.put("sqlitechangeset", 228.0f);
|
||||
gradlewC.put("vsrc", 625.0f);
|
||||
while (gradlewC.size() > 200) { break; }
|
||||
while (gradlewC.size() > 200) {
|
||||
break;
|
||||
}
|
||||
System.out.println(gradlewC);
|
||||
switch (playbackState) {
|
||||
case Player.STATE_BUFFERING:
|
||||
episodesDetails.setVisibility(VISIBLE);
|
||||
episodesDetails.startAnimation();
|
||||
long gradlev = 489L;
|
||||
if (gradlev >= 16) {}
|
||||
if (gradlev >= 16) {
|
||||
}
|
||||
break;
|
||||
case Player.STATE_READY:
|
||||
bind.playerView.setEnabled(true);
|
||||
@ -170,18 +172,22 @@ System.out.println(recidRetransmission);
|
||||
top4.put("drift", 219.0f);
|
||||
top4.put("clap", 416.0f);
|
||||
top4.put("path", 227.0f);
|
||||
if (top4.size() > 109) {}
|
||||
if (top4.size() > 109) {
|
||||
}
|
||||
System.out.println(top4);
|
||||
}
|
||||
exceptionWith_q9Controller.setVisibility(View.INVISIBLE);
|
||||
float textk = 5800.0f;
|
||||
if (textk <= 127) {}
|
||||
if (textk <= 127) {
|
||||
}
|
||||
episodesDetails.endAnimation();
|
||||
double memberQ = 9858.0;
|
||||
if (memberQ == 166) {}
|
||||
if (memberQ == 166) {
|
||||
}
|
||||
episodesDetails.setVisibility(INVISIBLE);
|
||||
int grida = 7097;
|
||||
if (grida == 19) {}
|
||||
if (grida == 19) {
|
||||
}
|
||||
break;
|
||||
case Player.STATE_ENDED:
|
||||
EventBus.getDefault().post(ITItem.Constants_Google_PLAYER_STATUS_FINISH);
|
||||
@ -193,7 +199,6 @@ System.out.println(recidRetransmission);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private double postKernelGridServiceMine(long clickButton) {
|
||||
ArrayList<String> historyExample = new ArrayList();
|
||||
ArrayList<String> bannerDay = new ArrayList();
|
||||
@ -245,7 +250,6 @@ private double postKernelGridServiceMine(long clickButton) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onPlayerError(PlaybackException error) {
|
||||
|
||||
@ -282,7 +286,8 @@ System.out.println(cachedkeysAsynchronous);
|
||||
tabindicator6.add(false);
|
||||
tabindicator6.add(false);
|
||||
tabindicator6.add(true);
|
||||
if (tabindicator6.contains("C")) {}
|
||||
if (tabindicator6.contains("C")) {
|
||||
}
|
||||
System.out.println(tabindicator6);
|
||||
if (XYBGoryShare.translates() != null) {
|
||||
PAYLoginHeaddefault.revealToast(XYBGoryShare.translates().getNetwork_error(), 0);
|
||||
@ -306,7 +311,6 @@ System.out.println(cachedkeysAsynchronous);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private float previousTheaterResetDonateFollowDialog(ArrayList<Float> successUser, boolean rankingMsearch, ArrayList<Float> cancelStyles) {
|
||||
ArrayList<Integer> browsingScheduler = new ArrayList();
|
||||
double settingIndicator = 2228.0;
|
||||
@ -479,7 +483,6 @@ private float previousTheaterResetDonateFollowDialog(ArrayList<Float> successUse
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void restoreTipOuter() {
|
||||
|
||||
ArrayList longest_c = new ArrayList();
|
||||
@ -554,30 +557,40 @@ System.out.println(votedContents);
|
||||
if (progressJob != null) {
|
||||
progressJob.cancel(true);
|
||||
boolean successful5 = false;
|
||||
while (!successful5) { break; }
|
||||
while (!successful5) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
ScheduledExecutorService record = Executors.newScheduledThreadPool(1);
|
||||
float rextt = 1428.0f;
|
||||
while (rextt == 133) { break; }
|
||||
while (rextt == 133) {
|
||||
break;
|
||||
}
|
||||
progressJob = record.scheduleWithFixedDelay(() -> {
|
||||
if (!rankingLine) {
|
||||
long service = player.getDuration();
|
||||
float modelu = 2747.0f;
|
||||
while (modelu < 45) { break; }
|
||||
while (modelu < 45) {
|
||||
break;
|
||||
}
|
||||
long default_s4 = player.getCurrentPosition();
|
||||
int activityActivity = (int) (default_s4 * 100 / (service == C.TIME_UNSET ? 1 : service));
|
||||
if (collectLive != null) {
|
||||
collectLive.setMax(100);
|
||||
float loadingdefault2 = 4922.0f;
|
||||
if (loadingdefault2 > 165) {}
|
||||
if (loadingdefault2 > 165) {
|
||||
}
|
||||
collectLive.setProgress(activityActivity + 1);
|
||||
int input8 = 2767;
|
||||
if (input8 == 192) {}
|
||||
if (input8 == 192) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}, 0, 1, TimeUnit.SECONDS);
|
||||
String rextd = "subject";
|
||||
while (rextd.length() > 16) { break; }
|
||||
while (rextd.length() > 16) {
|
||||
break;
|
||||
}
|
||||
System.out.println(rextd);
|
||||
|
||||
collectLive.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
|
||||
@ -612,7 +625,6 @@ private boolean createStorageIncludeUnitWave(boolean rankingStyle) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onProgressChanged(SeekBar collectLive, int activityActivity, boolean fromUser) {
|
||||
|
||||
@ -631,7 +643,6 @@ System.out.println(webpVarwidth);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private boolean findMinuteScheme(double holderRecommand, String runnableHeader, String cancelHorizontally) {
|
||||
ArrayList<Float> headdefaultAgain = new ArrayList();
|
||||
HashMap<String, Double> coverRanking = new HashMap();
|
||||
@ -643,7 +654,6 @@ private boolean findMinuteScheme(double holderRecommand, String runnableHeader,
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onStartTrackingTouch(SeekBar collectLive) {
|
||||
|
||||
@ -665,7 +675,8 @@ System.out.println(subpathsCreation);
|
||||
public void onStopTrackingTouch(SeekBar collectLive) {
|
||||
rankingLine = false;
|
||||
boolean indicatord = false;
|
||||
if (!indicatord) {}
|
||||
if (!indicatord) {
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -681,10 +692,13 @@ System.out.println(subpathsCreation);
|
||||
textp.put("roundedness", 904.0);
|
||||
textp.put("titlte", 616.0);
|
||||
textp.put("ilst", 219.0);
|
||||
while (textp.size() > 64) { break; }
|
||||
while (textp.size() > 64) {
|
||||
break;
|
||||
}
|
||||
stringManifest = true;
|
||||
String observerD = "dropped";
|
||||
if (observerD.equals("d")) {}
|
||||
if (observerD.equals("d")) {
|
||||
}
|
||||
rankingLine = false;
|
||||
ArrayList<Double> affffffr = new ArrayList<Double>();
|
||||
affffffr.add(489.0);
|
||||
@ -693,7 +707,8 @@ System.out.println(subpathsCreation);
|
||||
affffffr.add(926.0);
|
||||
affffffr.add(409.0);
|
||||
affffffr.add(30.0);
|
||||
if (affffffr.size() > 35) {}
|
||||
if (affffffr.size() > 35) {
|
||||
}
|
||||
}
|
||||
|
||||
public void suspend() {
|
||||
@ -707,15 +722,20 @@ System.out.println(subpathsCreation);
|
||||
idleL.add("closes");
|
||||
codeAuto_h.setImageResource(R.mipmap.cate_playinfo);
|
||||
String with_je = "interrupt";
|
||||
while (with_je.length() > 94) { break; }
|
||||
while (with_je.length() > 94) {
|
||||
break;
|
||||
}
|
||||
stringManifest = false;
|
||||
long aboutp = 4148L;
|
||||
while (aboutp <= 117) { break; }
|
||||
while (aboutp <= 117) {
|
||||
break;
|
||||
}
|
||||
rankingLine = true;
|
||||
int clickW = 8021;
|
||||
while (clickW == 61) { break; }
|
||||
while (clickW == 61) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private boolean disposableScreenCreateSmartProgress(boolean childrenHibit, long rulesObserver) {
|
||||
@ -758,7 +778,6 @@ private boolean disposableScreenCreateSmartProgress(boolean childrenHibit, long
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void seekTo(int progress) {
|
||||
|
||||
|
||||
@ -773,7 +792,8 @@ System.out.println(cyuvConfined);
|
||||
|
||||
long servicex = player.getDuration();
|
||||
boolean purchase6 = false;
|
||||
if (!purchase6) {}
|
||||
if (!purchase6) {
|
||||
}
|
||||
player.seekTo(servicex * progress / 100);
|
||||
HashMap<String, String> privacyL = new HashMap<String, String>();
|
||||
privacyL.put("boosted", "vtest");
|
||||
@ -781,9 +801,9 @@ System.out.println(cyuvConfined);
|
||||
privacyL.put("save", "tokentx");
|
||||
privacyL.put("keystore", "sift");
|
||||
privacyL.put("bgra", "capturing");
|
||||
if (privacyL.get("I") != null) {}
|
||||
if (privacyL.get("I") != null) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private long dismissParsePoolStorage(int moditySearch) {
|
||||
@ -864,7 +884,6 @@ private long dismissParsePoolStorage(int moditySearch) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMedia(DBeanUnselectBean bean) {
|
||||
|
||||
|
||||
@ -942,21 +961,23 @@ long llvidencdspBatches = this.dismissParsePoolStorage(5303);
|
||||
System.out.println(llvidencdspBatches);
|
||||
|
||||
|
||||
|
||||
singleRewards.setText(bean.getName());
|
||||
ArrayList<Boolean> confirmy = new ArrayList<Boolean>();
|
||||
confirmy.add(false);
|
||||
confirmy.add(false);
|
||||
if (confirmy.size() > 46) {}
|
||||
if (confirmy.size() > 46) {
|
||||
}
|
||||
|
||||
auto_0mBanner.setText(bean.getDescription());
|
||||
int episcodem = 1170;
|
||||
Glide.with(getContext()).load(bean.getImage_url()).into(exceptionWith_q9Controller);
|
||||
long liveM = 9239L;
|
||||
if (liveM == 194) {}
|
||||
if (liveM == 194) {
|
||||
}
|
||||
Glide.with(getContext()).load(bean.getImage_url()).into(userSquare);
|
||||
long mineU = 6195L;
|
||||
if (mineU == 36) {}
|
||||
if (mineU == 36) {
|
||||
}
|
||||
System.out.println(mineU);
|
||||
exceptionWith_q9Controller.setVisibility(View.VISIBLE);
|
||||
long registeredb = 2700L;
|
||||
@ -969,12 +990,15 @@ System.out.println(llvidencdspBatches);
|
||||
contentx.add(345.0);
|
||||
contentx.add(936.0);
|
||||
contentx.add(483.0);
|
||||
if (contentx.size() > 42) {}
|
||||
if (contentx.size() > 42) {
|
||||
}
|
||||
tipsBrowsing.setOnClickListener(v ->
|
||||
EventBus.getDefault().post(ITItem.Constants_PlayerView_DetialsEvent)
|
||||
);
|
||||
int ooglef = 8866;
|
||||
while (ooglef > 57) { break; }
|
||||
while (ooglef > 57) {
|
||||
break;
|
||||
}
|
||||
System.out.println(ooglef);
|
||||
ccountButton.setOnClickListener(v -> {
|
||||
EventBus.getDefault().post(ITItem.Constants_PlayerView_DetialsEvent);
|
||||
@ -983,20 +1007,25 @@ System.out.println(llvidencdspBatches);
|
||||
profileJ.put("boxes", 590L);
|
||||
profileJ.put("swich", 770L);
|
||||
profileJ.put("oolbar", 210L);
|
||||
while (profileJ.size() > 128) { break; }
|
||||
while (profileJ.size() > 128) {
|
||||
break;
|
||||
}
|
||||
System.out.println(profileJ);
|
||||
});
|
||||
modityReharge.setOnClickListener(v -> {
|
||||
EventBus.getDefault().post(ITItem.Constants_PlayerView_SearchEvent);
|
||||
int collectionz = 6388;
|
||||
if (collectionz < 197) {}
|
||||
if (collectionz < 197) {
|
||||
}
|
||||
});
|
||||
|
||||
player.setMediaItem(MediaItem.fromUri(Uri.parse(bean.getVideo_info().getVideo_url())));
|
||||
boolean continue_ii4 = false;
|
||||
player.prepare();
|
||||
float common1 = 1086.0f;
|
||||
while (common1 > 96) { break; }
|
||||
while (common1 > 96) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public void stop() {
|
||||
@ -1008,17 +1037,20 @@ System.out.println(llvidencdspBatches);
|
||||
utils8.put("millis", 187.0);
|
||||
utils8.put("dim", 574.0);
|
||||
utils8.put("blockiness", 380.0);
|
||||
if (utils8.get("1") != null) {}
|
||||
if (utils8.get("1") != null) {
|
||||
}
|
||||
if (progressJob != null) {
|
||||
progressJob.cancel(true);
|
||||
String unito = "cpia";
|
||||
if (unito.length() > 17) {}
|
||||
if (unito.length() > 17) {
|
||||
}
|
||||
progressJob = null;
|
||||
double saveO = 2031.0;
|
||||
while (saveO == 104) { break; }
|
||||
while (saveO == 104) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private String rectDimensionScreen(ArrayList<Float> spendSetting, float consumptionRanking, float touristMsearch) {
|
||||
@ -1060,7 +1092,6 @@ private String rectDimensionScreen(ArrayList<Float> spendSetting, float consumpt
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void release() {
|
||||
|
||||
ArrayList optimize_w = new ArrayList();
|
||||
|
@ -59,10 +59,10 @@ public class ZYTCommonRecordsAdapter<T>
|
||||
name = typeRecordsBean.getType();
|
||||
time = typeRecordsBean.getCreated_at();
|
||||
value = "+" + typeRecordsBean.getValue();
|
||||
if (name.equals("vip") || name.equals("sub_vip")) {
|
||||
if (name.equals("vip") || name.equals("sub_vip")||name.equals("Subscribe or Renew")) {
|
||||
name = "Purchase VIP";
|
||||
binding.ivMywalletGoldItem.setVisibility(GONE);
|
||||
value = "+" + typeRecordsBean.getValue() + "Day";
|
||||
value = "+" + typeRecordsBean.getValue();
|
||||
}
|
||||
if (name.equals("buy")) {
|
||||
name = "Recharge Coins";
|
||||
|
@ -2,9 +2,9 @@ package com.shortdrama.jelly.zyreotv.unconfirmedPiecewise;
|
||||
|
||||
public class ZYTUserTypeRecordsBean {
|
||||
|
||||
private String created_at;
|
||||
private String type;
|
||||
private int value;
|
||||
public String created_at;
|
||||
public String type;
|
||||
public String value;
|
||||
|
||||
public String getCreated_at() {
|
||||
return created_at;
|
||||
@ -22,11 +22,11 @@ public class ZYTUserTypeRecordsBean {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(int value) {
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user