修改详情,新增nodata
This commit is contained in:
parent
78c1fd857c
commit
a0ae51cc2a
@ -18,8 +18,8 @@ android {
|
||||
applicationId "com.shortdrama.jelly.zyreotv"
|
||||
minSdk 24
|
||||
targetSdk 35
|
||||
versionCode 7
|
||||
versionName "1.0.6"
|
||||
versionCode 8
|
||||
versionName "1.0.7"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
|
@ -13,7 +13,7 @@ public class LogUtils {
|
||||
}
|
||||
|
||||
// public static boolean isDebug = ApiService.isDebug;// 是否需要打印bug,可以在application的onCreate函数里面初始化
|
||||
public static boolean isDebug = false;
|
||||
public static boolean isDebug = true;
|
||||
// public static boolean isDebug = false;// 是否需要打印bug,可以在application的onCreate函数里面初始化
|
||||
|
||||
private static final String TAG = "GleeStreamLog";
|
||||
|
@ -2,8 +2,13 @@
|
||||
package com.shortdrama.jelly.zyreotv.dlsym;
|
||||
|
||||
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
|
||||
import com.google.gson.JsonParseException;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.ITItem;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.LogUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TIndicator;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
import org.json.JSONException;
|
||||
@ -29,6 +34,7 @@ public abstract class RREStyles<T> extends DisposableObserver<T> {
|
||||
|
||||
@Override
|
||||
public void onNext(T o) {
|
||||
LogUtils.d("onNext data");
|
||||
try {
|
||||
IMACloseStroke follow = (IMACloseStroke) o;
|
||||
if (follow.code == 200) {
|
||||
@ -38,33 +44,32 @@ public abstract class RREStyles<T> extends DisposableObserver<T> {
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
boolean androidm = true;
|
||||
if (!androidm) {
|
||||
}
|
||||
LogUtils.d("onNext catch");
|
||||
onError(407, e.toString());
|
||||
float langX = 5598.0f;
|
||||
while (langX >= 57) {
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
private static boolean isHandling401 = false;
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onError(Throwable e) {
|
||||
LogUtils.d("onError e");
|
||||
if (e instanceof HttpException) {
|
||||
int code = ((HttpException) e).code();
|
||||
if (code == 401) {
|
||||
if (code == 401&&!isHandling401) {
|
||||
isHandling401 = true;
|
||||
TIndicator.saveString(TIndicator.auth, "");
|
||||
EventBus.getDefault().post(ITItem.Constants_Refresh_Auth);
|
||||
// 延迟一段时间后恢复
|
||||
new Handler(Looper.getMainLooper()).postDelayed(() -> isHandling401 = false, 5000);
|
||||
}
|
||||
if (code == 402) {
|
||||
EventBus.getDefault().post(ITItem.Constants_Refresh_LoginUser402);
|
||||
}
|
||||
attachPortSupport(BAD_NETWORK, e);
|
||||
boolean runnableR = false;
|
||||
if (!runnableR) {
|
||||
}
|
||||
} else if (e instanceof ConnectException
|
||||
|| e instanceof UnknownHostException) {
|
||||
|
||||
@ -93,17 +98,9 @@ public abstract class RREStyles<T> extends DisposableObserver<T> {
|
||||
} else {
|
||||
if (e != null) {
|
||||
onError(409, e.toString());
|
||||
double callA = 6836.0;
|
||||
if (callA > 66) {
|
||||
}
|
||||
System.out.println(callA);
|
||||
} else {
|
||||
onError(407, "response body is null");
|
||||
boolean more6 = false;
|
||||
while (!more6) {
|
||||
break;
|
||||
}
|
||||
System.out.println(more6);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -12,6 +12,7 @@ import java.util.HashMap;
|
||||
import androidx.lifecycle.MutableLiveData;
|
||||
import androidx.lifecycle.ViewModel;
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.beginning.PAYLoginHeaddefault;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.VZBack;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.RREStyles;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.IMACloseStroke;
|
||||
@ -206,243 +207,11 @@ public class XSLockPlaylist extends ViewModel {
|
||||
}
|
||||
|
||||
|
||||
private long writePaintDecorPattern(long startType_c9, boolean historyDefault_9) {
|
||||
String historyCollect = "filters";
|
||||
System.out.println(historyCollect);
|
||||
boolean playertotalTablist = false;
|
||||
int theaterDimens = 3757;
|
||||
long easingErasure = 0;
|
||||
playertotalTablist = false;
|
||||
easingErasure *= playertotalTablist ? 68 : 57;
|
||||
theaterDimens -= 58;
|
||||
int _t_74 = (int) theaterDimens;
|
||||
int c_2 = 1;
|
||||
int m_67 = 0;
|
||||
if (_t_74 > m_67) {
|
||||
_t_74 = m_67;
|
||||
}
|
||||
while (c_2 < _t_74) {
|
||||
c_2 += 1;
|
||||
int w_79 = (int) c_2;
|
||||
int v_64 = 1;
|
||||
int z_42 = 1;
|
||||
if (w_79 > z_42) {
|
||||
w_79 = z_42;
|
||||
}
|
||||
while (v_64 < w_79) {
|
||||
v_64 += 1;
|
||||
int h_16 = (int) v_64;
|
||||
switch (h_16) {
|
||||
case 45: {
|
||||
h_16 += 52;
|
||||
break;
|
||||
|
||||
}
|
||||
case 44: {
|
||||
h_16 *= 39;
|
||||
break;
|
||||
|
||||
}
|
||||
case 52: {
|
||||
h_16 += 61;
|
||||
break;
|
||||
|
||||
}
|
||||
case 56: {
|
||||
h_16 *= 28;
|
||||
break;
|
||||
|
||||
}
|
||||
case 11: {
|
||||
h_16 += 90;
|
||||
break;
|
||||
|
||||
}
|
||||
case 23: {
|
||||
break;
|
||||
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return easingErasure;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
stayLanguages.setValue(null);
|
||||
|
||||
|
||||
long mpchuffFiletime = this.writePaintDecorPattern(6681L, true);
|
||||
|
||||
System.out.println(mpchuffFiletime);
|
||||
int n_93 = (int) mpchuffFiletime;
|
||||
switch (n_93) {
|
||||
case 90: {
|
||||
if (n_93 <= 623) {
|
||||
} else if (n_93 < 78) {
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 24: {
|
||||
n_93 *= 40;
|
||||
break;
|
||||
|
||||
}
|
||||
case 48: {
|
||||
int u_96 = 0;
|
||||
int b_65 = 0;
|
||||
if (n_93 > b_65) {
|
||||
n_93 = b_65;
|
||||
|
||||
}
|
||||
for (int n_60 = 1; n_60 <= n_93; n_60++) {
|
||||
u_96 += (int) n_60;
|
||||
if (n_60 > 0) {
|
||||
n_93 -= (int) n_60;
|
||||
break;
|
||||
|
||||
}
|
||||
int j_97 = (int) u_96;
|
||||
if (j_97 > 585) {
|
||||
j_97 += 39;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 17: {
|
||||
n_93 -= 100;
|
||||
int i_95 = 0;
|
||||
int j_95 = 0;
|
||||
if (n_93 > j_95) {
|
||||
n_93 = j_95;
|
||||
|
||||
}
|
||||
for (int r_25 = 1; r_25 <= n_93; r_25++) {
|
||||
i_95 += (int) r_25;
|
||||
n_93 *= r_25;
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 28: {
|
||||
int v_8 = 0;
|
||||
for (int h_81 = (int) n_93; h_81 > n_93 - 1; h_81--) {
|
||||
v_8 += (int) h_81;
|
||||
int g_66 = (int) v_8;
|
||||
switch (g_66) {
|
||||
case 76: {
|
||||
g_66 -= 80;
|
||||
g_66 *= 5;
|
||||
break;
|
||||
|
||||
}
|
||||
case 8: {
|
||||
g_66 -= 6;
|
||||
break;
|
||||
|
||||
}
|
||||
case 17: {
|
||||
break;
|
||||
|
||||
}
|
||||
case 55: {
|
||||
g_66 += 74;
|
||||
break;
|
||||
|
||||
}
|
||||
case 4: {
|
||||
g_66 += 27;
|
||||
break;
|
||||
|
||||
}
|
||||
case 93: {
|
||||
g_66 *= 44;
|
||||
g_66 -= 3;
|
||||
break;
|
||||
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 59: {
|
||||
n_93 += 14;
|
||||
int z_71 = 1;
|
||||
int t_73 = 1;
|
||||
if (n_93 > t_73) {
|
||||
n_93 = t_73;
|
||||
}
|
||||
while (z_71 < n_93) {
|
||||
z_71 += 1;
|
||||
n_93 -= z_71;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 40: {
|
||||
n_93 *= 40;
|
||||
break;
|
||||
|
||||
}
|
||||
case 88: {
|
||||
n_93 -= 2;
|
||||
break;
|
||||
|
||||
}
|
||||
case 73: {
|
||||
n_93 -= 42;
|
||||
int k_5 = 1;
|
||||
int l_97 = 0;
|
||||
if (n_93 > l_97) {
|
||||
n_93 = l_97;
|
||||
}
|
||||
while (k_5 < n_93) {
|
||||
k_5 += 1;
|
||||
int d_85 = (int) k_5;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 41: {
|
||||
n_93 += 26;
|
||||
n_93 -= 71;
|
||||
break;
|
||||
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
System.out.println(mpchuffFiletime);
|
||||
|
||||
|
||||
long freeC = 7722L;
|
||||
if (freeC == 80) {
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -289,6 +289,9 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
viewBinding.viewVideoRecommend.tvRecommend.setText(AppUtils.replace(translates.getGleestream_recommond_title(), "90%"));
|
||||
viewBinding.viewVideoRecommend.tvWatchNowRecommend.setText(translates.getGleestream_recommond_watchnow());
|
||||
}
|
||||
viewBinding.tvNodata.setOnClickListener(v -> {
|
||||
vtViewModel.getVideoDetails(episodeDetailId, episodevideo_id, activity_id);
|
||||
});
|
||||
}
|
||||
|
||||
private void showLockView(LSQExampleCloseBean.YPZTestUnselect item) {
|
||||
@ -325,11 +328,12 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
@Override
|
||||
public void logic() {
|
||||
vtViewModel.getVideoDetailsData().observe(this, it -> {
|
||||
|
||||
viewBinding.tvNodata.setVisibility(GONE);
|
||||
viewBinding.viewVideoRecommend.getRoot().setVisibility(INVISIBLE);
|
||||
if (it != null) {
|
||||
if (it.data != null && it.data.episodeList != null && !it.data.episodeList.isEmpty()) {
|
||||
|
||||
Glide.with(ZYTVideoPlayerDetailsActivity.this).load(it.data.shortPlayInfo.getImage_url()).into(viewBinding.cover);
|
||||
vtGooglePlayerAdapter = new WVideoplay();
|
||||
vtGooglePlayerAdapter.setShortVideoInfo(it.data.shortPlayInfo);
|
||||
vtGooglePlayerAdapter.setPlayerDetailCollection(ZYTVideoPlayerDetailsActivity.this);
|
||||
shortVideoInfo = it.data.shortPlayInfo;
|
||||
@ -340,7 +344,6 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
}
|
||||
if (shortVideoInfo != null && !shortVideoInfo.getImage_url().isEmpty()) {
|
||||
viewBinding.cover.setVisibility(INVISIBLE);
|
||||
Glide.with(ZYTVideoPlayerDetailsActivity.this).load(it.data.shortPlayInfo.getImage_url()).into(viewBinding.cover);
|
||||
}
|
||||
|
||||
}
|
||||
@ -350,6 +353,7 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
|
||||
} else {
|
||||
PAYLoginHeaddefault.revealToast(getString(R.string.beanFollowlist), 0);
|
||||
}
|
||||
viewBinding.tvNodata.setVisibility(VISIBLE);
|
||||
}
|
||||
viewBinding.avi.smoothToHide();
|
||||
});
|
||||
|
@ -55,4 +55,17 @@
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_nodata"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/strokeCornorBottom"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/itemItemVideohistory"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
@ -23,6 +23,6 @@ android.nonTransitiveRClass=true
|
||||
#org.gradle.internal.http.socketTimeout=600000
|
||||
# uploadCrashlyticsMappingFile
|
||||
systemProp.http.proxyHost=127.0.0.1
|
||||
systemProp.http.proxyPort=7890
|
||||
systemProp.http.proxyPort=26001
|
||||
systemProp.https.proxyHost=127.0.0.1
|
||||
systemProp.https.proxyPort=7890
|
||||
systemProp.https.proxyPort=26001
|
Loading…
x
Reference in New Issue
Block a user