ZyreoTv v1.0.0

This commit is contained in:
guozhen 2025-04-18 18:05:25 +08:00
parent 219e5c769b
commit 6d89a3d537
90 changed files with 710 additions and 599 deletions

View File

@ -3,15 +3,15 @@ plugins {
}
android {
namespace 'com.jelly.zyreotv.app'
namespace 'com.shortdrama.jelly.zyreotv'
compileSdk 35
defaultConfig {
applicationId "com.jelly.zyreotv.app"
applicationId "com.shortdrama.jelly.zyreotv"
minSdk 24
targetSdk 35
versionCode 1
versionName "1.0"
versionName "1.0.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
@ -33,14 +33,16 @@ android {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.signs
debuggable false
}
debug {
signingConfig signingConfigs.signs
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.signs
debuggable true
}
}

365
app/proguard-rules.pro vendored
View File

@ -170,8 +170,16 @@
-dontwarn com.jelly.zyreotv.app.**
-keep class com.jelly.zyreotv.app.** {*;}
-dontwarn com.shortdrama.jelly.zyreotv.model.**
-keep class com.shortdrama.jelly.zyreotv.model.** {*;}
-dontwarn com.shortdrama.jelly.zyreotv.api.**
-keep class com.shortdrama.jelly.zyreotv.api.** {*;}
-keepclassmembers class **.R$* {
public static <fields>;
}
-keep class * implements androidx.viewbinding.ViewBinding{ *;}
# RxJava2核心类保留
-keepclassmembers class rx.internal.util.unsafe.* {
@ -193,6 +201,27 @@
*;
}
# 保留 Gson 所需的泛型签名
-keepattributes Signature
# 保留 TypeToken 本身
-keep class com.google.gson.reflect.TypeToken { *; }
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken
# 保留你的数据实体类不被混淆(根据你的包名调整)
#-dontwarn com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.**
#-keep class com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.** { *; }
#-dontwarn com.shortdrama.jelly.zyreotv.dlsym.**
#-keep class com.shortdrama.jelly.zyreotv.dlsym.** {*;}
#-dontwarn com.shortdrama.jelly.zyreotv.beginning.**
#-keep class com.shortdrama.jelly.zyreotv.beginning.** {*;}
# 如果使用 @SerializedName 注解,保留字段名
-keepclassmembers class * {
@com.google.gson.annotations.SerializedName <fields>;
}
# R8 针对 RxJava2 的优化处理(如果你使用的是 R8
-dontwarn sun.misc.**
@ -200,3 +229,335 @@
-keepattributes *Annotation*
-keep public class * extends androidx.appcompat.app.AppCompatActivity
-keep public class * extends androidx.fragment.app.Fragment
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class * extends android.view.View
-keep class android.support.** {*;}
-keep interface android.support.** {*;}
-keep public class * extends android.support.v4.**
-keep public class * extends android.support.v7.**
-keep public class * extends android.support.annotation.**
-dontwarn android.support.**
-keep class androidx.** {*;}
-keep public class * extends androidx.**
-keep interface androidx.** {*;}
-keep class com.google.android.material.** {*;}
-dontwarn androidx.**
-dontwarn com.google.android.material.**
-dontnote com.google.android.material.**
-keepclasseswithmembernames class * {
native <methods>;
}
-keep public class * extends android.view.View{
*** get*();
void set*(***);
public <init>(android.content.Context);
public <init>(android.content.Context,android.util.AttributeSet);
public <init>(android.content.Context,android.util.AttributeSet,int);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
-keep public class * implements java.io.Serializable {*;}
-keepclassmembers class * implements java.io.Serializable {
static final long serialVersionUID;
private static final java.io.ObjectStreamField[] serialPersistentFields;
private void writeObject(java.io.ObjectOutputStream);
private void readObject(java.io.ObjectInputStream);
java.lang.Object writeReplace();
java.lang.Object readResolve();
}
-keep class **.R$* {*;}
-keepclassmembers class * {
void *(**On*Event);
void *(**On*Listener);
}
-keepclassmembers class * extends android.webkit.WebViewClient {
public void *(android.webkit.WebView, java.lang.String, android.graphics.Bitmap);
public boolean *(android.webkit.WebView, java.lang.String);
}
-keepclassmembers class * extends android.webkit.WebViewClient {
public void *(android.webkit.WebView, java.lang.String);
}
-keepclassmembers class * {
public <init>(org.json.JSONObject);
}
-keepattributes Signature
-keepattributes InnerClasses
-assumenosideeffects class android.util.Log {
public static *** v(...);
public static *** d(...);
public static *** i(...);
public static *** w(...);
public static *** e(...);
}
-dontwarn kotlin.**
-keep class kotlin.** { *; }
-keep interface kotlin.** { *; }
-keepclassmembers class kotlin.Metadata {
public <methods>;
}
-keepclasseswithmembers @kotlin.Metadata class * { *; }
-keepclassmembers class **.WhenMappings {
<fields>;
}
-assumenosideeffects class kotlin.jvm.internal.Intrinsics {
static void checkParameterIsNotNull(java.lang.Object, java.lang.String);
}
-keep class kotlinx.** { *; }
-keep interface kotlinx.** { *; }
-dontwarn kotlinx.**
-keep class org.jetbrains.** { *; }
-keep interface org.jetbrains.** { *; }
-dontwarn org.jetbrains.**
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep class * extends com.bumptech.glide.module.AppGlideModule {
<init>(...);
}
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
*** rewind();
}
-dontwarn org.bouncycastle.jsse.BCSSLParameters
-dontwarn org.bouncycastle.jsse.BCSSLSocket
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
-dontwarn org.conscrypt.Conscrypt$Version
-dontwarn org.conscrypt.Conscrypt
-dontwarn org.conscrypt.ConscryptHostnameVerifier
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
-dontwarn org.openjsse.net.ssl.OpenJSSE
# ViewBinding
-keepclassmembers class * implements androidx.viewbinding.ViewBinding {
public static * inflate(android.view.LayoutInflater);
}
-dontwarn javax.annotation.**
-dontwarn javax.inject.**
-dontwarn okhttp3.logging.**
-keep class okhttp3.internal.**{*;}
-dontwarn okio.**
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes Signature
-keepattributes Exceptions
-keep class com.google.gson.stream.** { *; }
-keepattributes EnclosingMethod
-keepattributes *Annotation*
-keepclassmembers class * {
@org.greenrobot.eventbus.Subscribe <methods>;
}
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
<init>(java.lang.Throwable);
}
-keep public class com.android.installreferrer.** { *; }
-keep class com.wang.avi.** { *; }
-keep class com.wang.avi.indicators.** { *; }
-keep class com.bytedance.sdk.** { *; }
-keep public class com.google.android.gms.** { public protected *; }
-keepattributes SourceFile,LineNumberTable # Keep file names and line numbers.
-keep public class * extends java.lang.Exception # Optional: Keep custom exceptions.
-keep class android.support.v8.renderscript.** { *; }
-keep class androidx.renderscript.** { *; }
-keepattributes Signature
-keepattributes *Annotation*
-keep class com.mbridge.** {*; }
-keep interface com.mbridge.** {*; }
-dontwarn com.mbridge.**
-keepclassmembers class **.R$* { public static final int mbridge*; }
-keep public class com.mbridge.* extends androidx.** { *; }
-keep interface androidx.annotation.IntDef{*;}
-keep interface androidx.annotation.Nullable{*;}
-keep interface androidx.annotation.CheckResult{*;}
-keep interface androidx.annotation.NonNull{*;}
-keep public class androidx.fragment.app.Fragment{*;}
-keep public class androidx.core.content.FileProvider{*;}
-keep public class androidx.core.app.NotificationCompat{*;}
-keep public class androidx.appcompat.widget.AppCompatImageView {*;}
-keep public class androidx.recyclerview.*{*;}
-keepclassmembers class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
#noinspection ShrinkerUnresolvedReference
#unity
-keep class com.google.android.gms.ads.** {public *;}
-keep class com.google.android.gms.appset.** { *; }
-keep class com.google.android.gms.tasks.** { *; }
#adapters
-keep class com.ironsource.adapters.** { *; }
#sdk
-dontwarn com.ironsource.**
-dontwarn com.ironsource.adapters.**
-keepclassmembers class com.ironsource.** { public *; }
-keep public class com.ironsource.**
-keep class com.ironsource.adapters.** { *;
}
#omid
-dontwarn com.iab.omid.**
-keep class com.iab.omid.** {*;}
#javascript
-keepattributes JavascriptInterface
-keepclassmembers class * { @android.webkit.JavascriptInterface <methods>; }
#For AmazonAps integration
-keep class com.amazon.device.ads.DtbThreadService {
static *;
}
-keep public interface com.amazon.device.ads** {*; }
#For AppLovin integration
-keepclassmembers class com.applovin.sdk.AppLovinSdk {
static *;
}
-keep public interface com.applovin.sdk** {*; }
-keep public interface com.applovin.adview** {*; }
-keep public interface com.applovin.mediation** {*; }
-keep public interface com.applovin.communicator** {*; }
#For Bytedance integration
-keep public interface com.bytedance.sdk.openadsdk** {*; }
#For Facebook integration
-keepclassmembers class com.facebook.ads.internal.AdSdkVersion {
static *;
}
-keepclassmembers class com.facebook.ads.internal.settings.AdSdkVersion {
static *;
}
-keepclassmembers class com.facebook.ads.BuildConfig {
static *;
}
-keep public interface com.facebook.ads** {*; }
#For Fairbid
-keep public interface com.fyber.fairbid.ads.interstitial** {*; }
-keep public interface com.fyber.fairbid.ads.rewarded** {*; }
-keep class com.fyber.offerwall.*
#For Fivead
-keep public interface com.five_corp.ad** {*; }
#For Fyber(Inneractive) integration
-keep public interface com.fyber.inneractive.sdk.external** {*; }
-keep public interface com.fyber.inneractive.sdk.activities** {*; }
-keep public interface com.fyber.inneractive.sdk.ui** {*; }
#For HyprMX integration
-keepclassmembers class com.hyprmx.android.sdk.utility.HyprMXProperties {
static *;
}
-keepclassmembers class com.hyprmx.android.BuildConfig {
static *;
}
-keep public interface com.hyprmx.android.sdk.activity** {*; }
-keep public interface com.hyprmx.android.sdk.graphics** {*; }
# For Inmobi integration
-keep class com.inmobi.*
-keep public interface com.inmobi.ads.listeners** {*; }
-keep public interface com.inmobi.ads.InMobiInterstitial** {*; }
-keep public interface com.inmobi.ads.InMobiBanner** {*; }
# For ironSource integration
-keep public interface com.ironsource.mediationsdk.sdk** {*; }
-keep public interface com.ironsource.mediationsdk.impressionData.ImpressionDataListener {*; }
#For Maio integration
-keep public interface jp.maio.sdk.android.MaioAdsListenerInterface {*; }
# For Mintergral integration
-keep public interface com.mbridge.msdk.out** {*; }
-keep public interface com.mbridge.msdk.videocommon.listener** {*; }
-keep public interface com.mbridge.msdk.interstitialvideo.out** {*; }
-keep public interface com.mintegral.msdk.out** {*; }
-keep public interface com.mintegral.msdk.videocommon.listener** {*; }
-keep public interface com.mintegral.msdk.interstitialvideo.out** {*; }
#For MyTarget integration
-keep class com.my.target.** {*;}
#For Ogury integration
-keep public interface io.presage.interstitial** {*; }
-keep public interface io.presage.interstitial.PresageInterstitialCallback {*; }
#For Pubnative integration
-keep public interface net.pubnative.lite.sdk.interstitial.HyBidInterstitialAd** {*; }
-keep public interface net.pubnative.lite.sdk.rewarded.HyBidRewardedAd** {*; }
-keep public interface net.pubnative.lite.sdk.views.HyBidAdView** {*; }
#For Smaato integration
-keep public interface com.smaato.sdk.interstitial** {*; }
-keep public interface com.smaato.sdk.video.vast** {*; }
-keep public interface com.smaato.sdk.banner.widget** {*; }
-keep public interface com.smaato.sdk.core.util** {*; }
# For Tapjoy integration
-keep public interface com.tapjoy.** {*; }
# For Tencent integration
-keep public interface com.qq.e.ads.interstitial2** {*; }
-keep public interface com.qq.e.ads.interstitial3** {*; }
-keep public interface com.qq.e.ads.rewardvideo** {*; }
-keep public interface com.qq.e.ads.rewardvideo2** {*; }
-keep public interface com.qq.e.ads.banner2** {*; }
-keep public interface com.qq.e.comm.adevent** {*; }
#For Verizon integration
-keepclassmembers class com.verizon.ads.edition.BuildConfig {
static *;
}
-keep public interface com.verizon.ads.interstitialplacement** {*; }
-keep public interface com.verizon.ads.inlineplacement** {*; }
-keep public interface com.verizon.ads.vastcontroller** {*; }
-keep public interface com.verizon.ads.webcontroller** {*; }
#For Vungle integration
-keep public interface com.vungle.warren.PlayAdCallback {*; }
-keep public interface com.vungle.warren.ui.contract** {*; }
-keep public interface com.vungle.warren.ui.view** {*; }
#For AndroidX
-keep class androidx.localbroadcastmanager.content.LocalBroadcastManager { *;}
-keep class androidx.recyclerview.widget.RecyclerView { *;}
-keep class androidx.recyclerview.widget.RecyclerView$OnScrollListener { *;}
#For Android
-keep class * extends android.app.Activity

View File

@ -6,11 +6,10 @@
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
<application
android:name="com.jelly.zyreotv.app.VTApplication"
android:name="com.shortdrama.jelly.zyreotv.VTApplication"
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
@ -21,21 +20,25 @@
android:theme="@style/Theme.VionTV">
<activity
android:name="com.jelly.zyreotv.app.ui.activity.VTSplashActivity"
android:name="com.shortdrama.jelly.zyreotv.ui.activity.VTSplashActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.jelly.zyreotv.app.ui.activity.VTMainActivity"
android:name="com.shortdrama.jelly.zyreotv.ui.activity.VTMainActivity"
android:exported="true">
</activity>
<activity android:name="com.jelly.zyreotv.app.ui.activity.play.VTVideoPlayerActivity" />
<activity android:name="com.jelly.zyreotv.app.ui.activity.search.VTSearchActivity" />
<activity android:name="com.jelly.zyreotv.app.ui.activity.WebViewActivity" />
<activity android:name="com.shortdrama.jelly.zyreotv.ui.activity.play.VTVideoPlayerActivity" />
<activity android:name="com.shortdrama.jelly.zyreotv.ui.activity.search.VTSearchActivity" />
<activity android:name="com.shortdrama.jelly.zyreotv.ui.activity.WebViewActivity" />
</application>
</manifest>

View File

@ -1,23 +0,0 @@
package com.jelly.zyreotv.app.ui.adapter;
import com.chad.library.adapter4.BaseQuickAdapter;
import android.content.Context;
import android.view.ViewGroup;
import com.chad.library.adapter4.viewholder.QuickViewHolder;
import com.jelly.zyreotv.app.R;
public class VTSearchHistoryAdapter extends BaseQuickAdapter<String, QuickViewHolder> {
@Override
protected void onBindViewHolder(QuickViewHolder holder, int position, String item) {
holder.setText(R.id.tv_item_vt_search_history, item);
}
@Override
public QuickViewHolder onCreateViewHolder(Context context, ViewGroup parent, int viewType) {
return new QuickViewHolder(R.layout.item_search_history_vt, parent);
}
}

View File

@ -1,73 +0,0 @@
// Copyright (c) 2022 NetEase, Inc. All rights reserved.
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
import android.content.Context;
import android.view.View;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemHomeExploreVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
import com.jelly.zyreotv.app.utils.TimeUtils;
public class VTTop10ListAdapter
extends VTCommonAdapter<ItemBean, ItemHomeExploreVtBinding> {
private Context mcontext;
public VTTop10ListAdapter(
Context context, Class<ItemHomeExploreVtBinding> viewBinding) {
super(context, viewBinding);
this.mcontext = context;
}
@Override
public void onBindViewHolder(
ItemHomeExploreVtBinding binding,
int position,
ItemBean data,
int bingingAdapterPosition) {
if (data != null) {
// ConstraintLayout.LayoutParams params = (ConstraintLayout.LayoutParams) binding.ivHotExploreItem.getLayoutParams();
// params.dimensionRatio ="71:100";
// binding.ivHotExploreItem.setLayoutParams(params);
// binding.ivHotExploreItem.requestLayout();
//
Glide.with(mcontext)
.load(data.getImage_url())
.placeholder(R.mipmap.ic_loadingdefault_ver)
.apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.RESOURCE))
.into(binding.ivHotExploreItem);
binding.layoutHomeHotcontent.setVisibility(View.VISIBLE);
binding.tvHomeExplorecontentItem.setVisibility(View.GONE);
binding.tvHomeExploretitleItem.setText(data.getName());
binding.tvHomeHotcontentItem.setText(TimeUtils.formatNumber(data.getWatch_total()));
binding.tvHomeExplorecateItem1.setVisibility(View.GONE);
binding.tvHomeExplorecateItem2.setVisibility(View.GONE);
binding.tvHotTopnumber.setVisibility(View.GONE);
if (bingingAdapterPosition < 10) {
binding.tvHotTopnumber.setVisibility(View.VISIBLE);
binding.tvHotTopnumber.setText(String.valueOf(bingingAdapterPosition + 1));
}
if (data.getCategory() != null && !data.getCategory().isEmpty()) {
binding.tvHomeExplorecateItem1.setVisibility(View.VISIBLE);
binding.tvHomeExplorecateItem1.setText(data.getCategory().get(0));
if (data.getCategory().size() >= 2) {
binding.tvHomeExplorecateItem2.setVisibility(View.VISIBLE);
binding.tvHomeExplorecateItem2.setText(data.getCategory().get(1));
}
}
}
}
}

View File

@ -1,125 +0,0 @@
package com.jelly.zyreotv.app.utils;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.res.Resources;
import android.util.TypedValue;
import android.os.Build;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
public class VTStatusBarUtils {
private static int DEFAULT_COLOR = 0;
private static float DEFAULT_ALPHA = 0f;
private static final int MIN_API = 19;
public static void pageImmersive(Window window, int color) {
pageImmersive(window, color, 1f);
}
public static void pageImmersive(Window window, int color, float alpha) {
if (Build.VERSION.SDK_INT >= 21) {
window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
window.setStatusBarColor(pageMixtureColor(color, alpha));
int systemUiVisibility = window.getDecorView().getSystemUiVisibility();
systemUiVisibility |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN;
systemUiVisibility |= View.SYSTEM_UI_FLAG_LAYOUT_STABLE;
window.getDecorView().setSystemUiVisibility(systemUiVisibility);
} else if (Build.VERSION.SDK_INT >= MIN_API) {
window.addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
pageSetTranslucentView((ViewGroup) window.getDecorView(), color, alpha);
} else {
int systemUiVisibility = window.getDecorView().getSystemUiVisibility();
systemUiVisibility |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN;
systemUiVisibility |= View.SYSTEM_UI_FLAG_LAYOUT_STABLE;
window.getDecorView().setSystemUiVisibility(systemUiVisibility);
}
}
public static void pageDarkMode(Activity activity, boolean dark) {
pageDarkMode(activity.getWindow(), DEFAULT_COLOR, DEFAULT_ALPHA, dark);
}
@TargetApi(Build.VERSION_CODES.M)
public static void pageDarkMode(Window window, int color, float alpha, boolean dark) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
pageDarkModeForM(window, dark);
pageImmersive(window, color, alpha);
} else if (Build.VERSION.SDK_INT >= MIN_API) {
window.addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
pageSetTranslucentView((ViewGroup) window.getDecorView(), color, alpha);
} else {
pageImmersive(window, color, alpha);
}
}
@TargetApi(Build.VERSION_CODES.M)
public static void pageDarkModeForM(Window window, boolean dark) {
int systemUiVisibility = window.getDecorView().getSystemUiVisibility();
if (dark) {
systemUiVisibility |= View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR;
} else {
systemUiVisibility &= ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR;
}
window.getDecorView().setSystemUiVisibility(systemUiVisibility);
}
public static void pageSetPaddingSmart(Context context, View view) {
if (Build.VERSION.SDK_INT >= MIN_API) {
ViewGroup.LayoutParams lp = view.getLayoutParams();
if (lp != null && lp.height > 0) {
lp.height += pageGetStatusBarHeight(context);
}
view.setPadding(
view.getPaddingLeft(),
view.getPaddingTop() + pageGetStatusBarHeight(context),
view.getPaddingRight(),
view.getPaddingBottom()
);
}
}
private static void pageSetTranslucentView(ViewGroup container, int color, float alpha) {
if (Build.VERSION.SDK_INT >= MIN_API) {
int mixtureColor = pageMixtureColor(color, alpha);
View translucentView = container.findViewById(android.R.id.custom);
if (translucentView == null && mixtureColor != 0) {
translucentView = new View(container.getContext());
translucentView.setId(android.R.id.custom);
ViewGroup.LayoutParams lp = new ViewGroup.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT,
pageGetStatusBarHeight(container.getContext())
);
container.addView(translucentView, lp);
}
if (translucentView != null) {
translucentView.setBackgroundColor(mixtureColor);
}
}
}
private static int pageMixtureColor(int color, float alpha) {
int a = (color & 0xff000000) == 0 ? 0xff : color >>> 24;
return (color & 0x00ffffff) | ((int) (a * alpha) << 24);
}
private static int pageGetStatusBarHeight(Context context) {
int result = 24;
int resId = context.getResources().getIdentifier("status_bar_height", "dimen", "android");
if (resId > 0) {
result = context.getResources().getDimensionPixelSize(resId);
} else {
result = (int) TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_DIP,
result,
Resources.getSystem().getDisplayMetrics()
);
}
return result;
}
}

View File

@ -1,13 +1,13 @@
package com.jelly.zyreotv.app;
package com.shortdrama.jelly.zyreotv;
import android.app.Application;
import android.text.TextUtils;
import com.jelly.zyreotv.app.api.VTApi;
import com.jelly.zyreotv.app.api.VTBaseObserver;
import com.jelly.zyreotv.app.api.VTResult;
import com.jelly.zyreotv.app.model.RegisteredBean;
import com.jelly.zyreotv.app.utils.SharePreferenceUtils;
import com.shortdrama.jelly.zyreotv.api.VTApi;
import com.shortdrama.jelly.zyreotv.api.VTBaseObserver;
import com.shortdrama.jelly.zyreotv.api.VTResult;
import com.shortdrama.jelly.zyreotv.model.RegisteredBean;
import com.shortdrama.jelly.zyreotv.utils.SharePreferenceUtils;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;

View File

@ -1,7 +1,9 @@
package com.jelly.zyreotv.app.api;
package com.shortdrama.jelly.zyreotv.api;
import android.util.Log;
import com.shortdrama.jelly.zyreotv.utils.LogUtils;
import java.io.UnsupportedEncodingException;
import java.net.Proxy;
import java.net.URLDecoder;
@ -50,7 +52,7 @@ public class VTApi extends VTBaseApi {
builder.addInterceptor(new VTHeaderInterceptor());
builder.addInterceptor(new VTBodyloadInterceptor());
if(!VTApiService.isProduce){
if(LogUtils.isDebug){
HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor(message -> {
try {
String text = URLDecoder.decode(message, "utf-8");

View File

@ -1,14 +1,14 @@
package com.jelly.zyreotv.app.api;
package com.shortdrama.jelly.zyreotv.api;
import com.jelly.zyreotv.app.model.VTVideoListBean;
import com.jelly.zyreotv.app.model.HomeTopBannerBean;
import com.jelly.zyreotv.app.model.HomeTopBean;
import com.jelly.zyreotv.app.model.RegisteredBean;
import com.jelly.zyreotv.app.model.TabItemBean;
import com.jelly.zyreotv.app.model.VTUserInfoBean;
import com.jelly.zyreotv.app.model.VTVideoDetailsBean;
import com.jelly.zyreotv.app.model.VTVideoExploreListBean;
import com.shortdrama.jelly.zyreotv.model.VTVideoListBean;
import com.shortdrama.jelly.zyreotv.model.HomeTopBannerBean;
import com.shortdrama.jelly.zyreotv.model.HomeTopBean;
import com.shortdrama.jelly.zyreotv.model.RegisteredBean;
import com.shortdrama.jelly.zyreotv.model.TabItemBean;
import com.shortdrama.jelly.zyreotv.model.VTUserInfoBean;
import com.shortdrama.jelly.zyreotv.model.VTVideoDetailsBean;
import com.shortdrama.jelly.zyreotv.model.VTVideoExploreListBean;
import io.reactivex.Observable;
import retrofit2.http.Field;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.api;
package com.shortdrama.jelly.zyreotv.api;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.api;
package com.shortdrama.jelly.zyreotv.api;
import com.google.gson.JsonParseException;

View File

@ -1,10 +1,7 @@
package com.jelly.zyreotv.app.api;
package com.shortdrama.jelly.zyreotv.api;
import android.util.Log;
import com.jelly.zyreotv.app.utils.VTDecyrptUtils;
import com.shortdrama.jelly.zyreotv.utils.VTDecyrptUtils;
import okhttp3.Interceptor;
import okhttp3.Response;
@ -20,13 +17,11 @@ public class VTBodyloadInterceptor implements Interceptor {
String activity = k_center.body().contentType().toString();
String circle = k_center.body().string();
String str =circle;
Log.i("okhttp",circle+" ");
try{
str = VTDecyrptUtils.decrypt(circle);
}catch (Exception e){
}
Log.i("okhttp str",str+" ");
ResponseBody current = ResponseBody.create(k_center.body().contentType(), str);
return k_center.newBuilder().body(current).build();
} else {

View File

@ -1,11 +1,11 @@
package com.jelly.zyreotv.app.api;
package com.shortdrama.jelly.zyreotv.api;
import java.io.IOException;
import com.jelly.zyreotv.app.VTApplication;
import com.jelly.zyreotv.app.utils.GetAndroidUniqueMark;
import com.jelly.zyreotv.app.utils.SharePreferenceUtils;
import com.jelly.zyreotv.app.utils.TimeUtils;
import com.shortdrama.jelly.zyreotv.VTApplication;
import com.shortdrama.jelly.zyreotv.utils.GetAndroidUniqueMark;
import com.shortdrama.jelly.zyreotv.utils.SharePreferenceUtils;
import com.shortdrama.jelly.zyreotv.utils.TimeUtils;
import okhttp3.Interceptor;
import okhttp3.Request;
@ -23,6 +23,7 @@ public class VTHeaderInterceptor implements Interceptor {
.addHeader("Content-Type", "application/json")
.addHeader("authorization", SharePreferenceUtils.getString(SharePreferenceUtils.auth,""))
// .addHeader("security","true")
.addHeader("app-name","ZyreoTV")
.addHeader("lang-key","en")
.addHeader("device-id",GetAndroidUniqueMark.getUniqueId(VTApplication.getAppContext()))
.addHeader("system-type","android")

View File

@ -1,7 +1,7 @@
package com.jelly.zyreotv.app.api;
package com.shortdrama.jelly.zyreotv.api;
import com.jelly.zyreotv.app.utils.VTGsonUtils;
import com.shortdrama.jelly.zyreotv.utils.VTGsonUtils;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
public class CateGoryItemBean {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
import java.util.List;
@ -12,6 +12,8 @@ public class HomeTopBean {
private List<CateGoryItemBean> category;
public List<ItemBean> getHotData() {
return hotData;
}

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
public class RegisteredBean {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
public class SearchCateGoryItemBean {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
public class VTAccountInfoBean {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
public class VTBaseData<T> {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
public class VTUserInfoBean {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
import android.os.Parcel;
import android.os.Parcelable;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
public class VTVideoExploreBean {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.model;
package com.shortdrama.jelly.zyreotv.model;
import android.os.Parcel;
import android.os.Parcelable;

View File

@ -1,18 +1,18 @@
package com.jelly.zyreotv.app.ui.activity;
package com.shortdrama.jelly.zyreotv.ui.activity;
import androidx.appcompat.widget.AppCompatTextView;
import androidx.fragment.app.Fragment;
import android.view.View;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ActivityMainVtBinding;
import com.jelly.zyreotv.app.ui.activity.basic.VTCommonActivity;
import com.jelly.zyreotv.app.ui.activity.explore.VTExploreFragment;
import com.jelly.zyreotv.app.ui.activity.home.VTHomeFragment;
import com.jelly.zyreotv.app.ui.activity.me.VTMeFragment;
import com.jelly.zyreotv.app.ui.activity.mylist.VTMyListFragment;
import com.jelly.zyreotv.app.ui.adapter.VTFragmentAdapter;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.ActivityMainVtBinding;
import com.shortdrama.jelly.zyreotv.ui.activity.basic.VTCommonActivity;
import com.shortdrama.jelly.zyreotv.ui.activity.explore.VTExploreFragment;
import com.shortdrama.jelly.zyreotv.ui.activity.home.VTHomeFragment;
import com.shortdrama.jelly.zyreotv.ui.activity.me.VTMeFragment;
import com.shortdrama.jelly.zyreotv.ui.activity.mylist.VTMyListFragment;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTFragmentAdapter;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,12 +1,12 @@
package com.jelly.zyreotv.app.ui.activity;
package com.shortdrama.jelly.zyreotv.ui.activity;
import android.content.Intent;
import android.os.Bundle;
import androidx.core.splashscreen.SplashScreen;
import com.jelly.zyreotv.app.databinding.ActivitySplashBinding;
import com.jelly.zyreotv.app.ui.activity.basic.VTCommonActivity;
import com.shortdrama.jelly.zyreotv.databinding.ActivitySplashBinding;
import com.shortdrama.jelly.zyreotv.ui.activity.basic.VTCommonActivity;
public class VTSplashActivity extends VTCommonActivity<ActivitySplashBinding> {

View File

@ -1,11 +1,11 @@
package com.jelly.zyreotv.app.ui.activity;
package com.shortdrama.jelly.zyreotv.ui.activity;
import android.webkit.CookieManager;
import android.webkit.WebSettings;
import com.jelly.zyreotv.app.databinding.ActivityWebviewBinding;
import com.jelly.zyreotv.app.ui.activity.basic.VTCommonActivity;
import com.jelly.zyreotv.app.utils.VTAppConstants;
import com.shortdrama.jelly.zyreotv.databinding.ActivityWebviewBinding;
import com.shortdrama.jelly.zyreotv.ui.activity.basic.VTCommonActivity;
import com.shortdrama.jelly.zyreotv.utils.VTAppConstants;
public class WebViewActivity extends VTCommonActivity<ActivityWebviewBinding> {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.basic;
package com.shortdrama.jelly.zyreotv.ui.activity.basic;
public class VTBaseEventBus<T> {
private final String code;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.basic;
package com.shortdrama.jelly.zyreotv.ui.activity.basic;
import androidx.appcompat.app.AppCompatActivity;
@ -8,7 +8,7 @@ import android.os.Bundle;
import android.widget.EditText;
import android.view.inputmethod.InputMethodManager;
import com.jelly.zyreotv.app.utils.VTStatusBarUtils;
import com.shortdrama.jelly.zyreotv.utils.VTStatusBarUtils;
public abstract class VTCommonActivity<T> extends AppCompatActivity {
// 定义一个泛型类型的成员变量 _viewBinding初始值为 null

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.basic;
package com.shortdrama.jelly.zyreotv.ui.activity.basic;
import android.content.Context;
import android.os.Bundle;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.explore;
package com.shortdrama.jelly.zyreotv.ui.activity.explore;
import android.annotation.SuppressLint;
import android.os.Bundle;
@ -15,21 +15,21 @@ import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewpager2.widget.ViewPager2;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.VTApplication;
import com.jelly.zyreotv.app.databinding.FragmentExploreVtBinding;
import com.jelly.zyreotv.app.model.VTVideoDetailsBean;
import com.jelly.zyreotv.app.model.VTVideoExploreBean;
import com.jelly.zyreotv.app.ui.activity.basic.VTBaseEventBus;
import com.jelly.zyreotv.app.ui.activity.home.MainViewModel;
import com.jelly.zyreotv.app.ui.adapter.VTGooglePlayerExploreAdapter;
import com.jelly.zyreotv.app.ui.view.VTHomeGoogleExoPlayerView;
import com.jelly.zyreotv.app.utils.IntentUtils;
import com.jelly.zyreotv.app.utils.SingleClickUtils;
import com.jelly.zyreotv.app.utils.TimeUtils;
import com.jelly.zyreotv.app.utils.ToastUtils;
import com.jelly.zyreotv.app.utils.TranslatesUtils;
import com.jelly.zyreotv.app.utils.VTAppConstants;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.VTApplication;
import com.shortdrama.jelly.zyreotv.databinding.FragmentExploreVtBinding;
import com.shortdrama.jelly.zyreotv.model.VTVideoDetailsBean;
import com.shortdrama.jelly.zyreotv.model.VTVideoExploreBean;
import com.shortdrama.jelly.zyreotv.ui.activity.basic.VTBaseEventBus;
import com.shortdrama.jelly.zyreotv.ui.activity.home.MainViewModel;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTGooglePlayerExploreAdapter;
import com.shortdrama.jelly.zyreotv.ui.view.VTHomeGoogleExoPlayerView;
import com.shortdrama.jelly.zyreotv.utils.IntentUtils;
import com.shortdrama.jelly.zyreotv.utils.SingleClickUtils;
import com.shortdrama.jelly.zyreotv.utils.TimeUtils;
import com.shortdrama.jelly.zyreotv.utils.ToastUtils;
import com.shortdrama.jelly.zyreotv.utils.TranslatesUtils;
import com.shortdrama.jelly.zyreotv.utils.VTAppConstants;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;

View File

@ -1,14 +1,12 @@
package com.jelly.zyreotv.app.ui.activity.home;
import android.util.Log;
package com.shortdrama.jelly.zyreotv.ui.activity.home;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.jelly.zyreotv.app.api.VTApi;
import com.jelly.zyreotv.app.api.VTBaseObserver;
import com.jelly.zyreotv.app.api.VTResult;
import com.jelly.zyreotv.app.model.VTVideoExploreListBean;
import com.shortdrama.jelly.zyreotv.api.VTApi;
import com.shortdrama.jelly.zyreotv.api.VTBaseObserver;
import com.shortdrama.jelly.zyreotv.api.VTResult;
import com.shortdrama.jelly.zyreotv.model.VTVideoExploreListBean;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;
@ -46,7 +44,6 @@ public class MainViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
exploreVideoList.setValue(null);
}
});
@ -64,7 +61,6 @@ public class MainViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
collectionLiveData.setValue(null);
}
});
@ -82,7 +78,6 @@ public class MainViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
collectioncancelLiveData.setValue(null);
}
});

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.home;
package com.shortdrama.jelly.zyreotv.ui.activity.home;
import androidx.lifecycle.ViewModelProvider;
@ -14,16 +14,16 @@ import android.view.View;
import android.view.ViewGroup;
import com.google.android.material.tabs.TabLayoutMediator;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.api.VTApi;
import com.jelly.zyreotv.app.api.VTBaseObserver;
import com.jelly.zyreotv.app.api.VTResult;
import com.jelly.zyreotv.app.databinding.FragmentMainVtBinding;
import com.jelly.zyreotv.app.model.CateGoryItemBean;
import com.jelly.zyreotv.app.model.HomeTopBean;
import com.jelly.zyreotv.app.model.ItemBean;
import com.jelly.zyreotv.app.ui.adapter.VTTabCommonAdapter;
import com.jelly.zyreotv.app.utils.IntentUtils;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.api.VTApi;
import com.shortdrama.jelly.zyreotv.api.VTBaseObserver;
import com.shortdrama.jelly.zyreotv.api.VTResult;
import com.shortdrama.jelly.zyreotv.databinding.FragmentMainVtBinding;
import com.shortdrama.jelly.zyreotv.model.CateGoryItemBean;
import com.shortdrama.jelly.zyreotv.model.HomeTopBean;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTTabCommonAdapter;
import com.shortdrama.jelly.zyreotv.utils.IntentUtils;
import java.util.ArrayList;
import java.util.List;
@ -114,6 +114,7 @@ public class VTHomeFragment extends Fragment {
}
VTTabCommonAdapter adapter = new VTTabCommonAdapter(getActivity(), titles, listFragment);
binding.viewpager.setAdapter(adapter);
binding.viewpager.setOffscreenPageLimit(listFragment.size());
//把TabLayout选项卡布局和ViewPager2绑定在一起特别说明一下下面这行代码是官方给的特别好使
new TabLayoutMediator(binding.tablayout, binding.viewpager, (tab, position) -> tab.setText(titles.get(position))).attach();

View File

@ -1,10 +1,9 @@
package com.jelly.zyreotv.app.ui.activity.home;
package com.shortdrama.jelly.zyreotv.ui.activity.home;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@ -16,20 +15,20 @@ import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import com.jelly.zyreotv.app.api.VTApi;
import com.jelly.zyreotv.app.api.VTBaseObserver;
import com.jelly.zyreotv.app.api.VTResult;
import com.jelly.zyreotv.app.databinding.FragmentHotVtBinding;
import com.jelly.zyreotv.app.databinding.ItemHomeExploreVtBinding;
import com.jelly.zyreotv.app.databinding.ItemHotSquareVtBinding;
import com.jelly.zyreotv.app.model.VTVideoListBean;
import com.jelly.zyreotv.app.model.HomeNineSquareBean;
import com.jelly.zyreotv.app.model.HomeTopBannerBean;
import com.jelly.zyreotv.app.model.ItemBean;
import com.jelly.zyreotv.app.ui.adapter.VTBannerHomeAdapter;
import com.jelly.zyreotv.app.ui.adapter.VTHotBottomListAdapter;
import com.jelly.zyreotv.app.ui.adapter.VTNineSquareAdapter;
import com.jelly.zyreotv.app.utils.IntentUtils;
import com.shortdrama.jelly.zyreotv.api.VTApi;
import com.shortdrama.jelly.zyreotv.api.VTBaseObserver;
import com.shortdrama.jelly.zyreotv.api.VTResult;
import com.shortdrama.jelly.zyreotv.databinding.FragmentHotVtBinding;
import com.shortdrama.jelly.zyreotv.databinding.ItemHomeExploreVtBinding;
import com.shortdrama.jelly.zyreotv.databinding.ItemHotSquareVtBinding;
import com.shortdrama.jelly.zyreotv.model.VTVideoListBean;
import com.shortdrama.jelly.zyreotv.model.HomeNineSquareBean;
import com.shortdrama.jelly.zyreotv.model.HomeTopBannerBean;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTBannerHomeAdapter;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTHotBottomListAdapter;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTNineSquareAdapter;
import com.shortdrama.jelly.zyreotv.utils.IntentUtils;
import com.youth.banner.listener.OnBannerListener;
import java.util.List;
@ -209,8 +208,6 @@ public class VTHotFragment extends Fragment {
.setOnBannerListener(new OnBannerListener() {
@Override
public void OnBannerClick(Object data, int position) {
ItemBean bean = itemBeans.get(position);
Log.i("tag====",bean.getShort_play_id()+" ");
IntentUtils.startPlayerDetails(getActivity(), itemBeans.get(position).getShort_play_id(), 0);
}
})

View File

@ -1,7 +1,6 @@
package com.jelly.zyreotv.app.ui.activity.home;
package com.shortdrama.jelly.zyreotv.ui.activity.home;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@ -14,17 +13,17 @@ import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.jelly.zyreotv.app.api.VTApi;
import com.jelly.zyreotv.app.api.VTBaseObserver;
import com.jelly.zyreotv.app.api.VTResult;
import com.jelly.zyreotv.app.databinding.FragmentCategoryItemBinding;
import com.jelly.zyreotv.app.databinding.ItemHomeTablistVtBinding;
import com.jelly.zyreotv.app.model.VTVideoListBean;
import com.jelly.zyreotv.app.model.ItemBean;
import com.jelly.zyreotv.app.model.TabItemBean;
import com.jelly.zyreotv.app.ui.adapter.VTBannerHomeAdapter;
import com.jelly.zyreotv.app.ui.adapter.VTTabItemListAdapter;
import com.jelly.zyreotv.app.utils.IntentUtils;
import com.shortdrama.jelly.zyreotv.api.VTApi;
import com.shortdrama.jelly.zyreotv.api.VTBaseObserver;
import com.shortdrama.jelly.zyreotv.api.VTResult;
import com.shortdrama.jelly.zyreotv.databinding.FragmentCategoryItemBinding;
import com.shortdrama.jelly.zyreotv.databinding.ItemHomeTablistVtBinding;
import com.shortdrama.jelly.zyreotv.model.VTVideoListBean;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
import com.shortdrama.jelly.zyreotv.model.TabItemBean;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTBannerHomeAdapter;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTTabItemListAdapter;
import com.shortdrama.jelly.zyreotv.utils.IntentUtils;
import java.util.List;
@ -131,10 +130,7 @@ public class VTTabItemFragment extends Fragment {
if (newState == RecyclerView.SCROLL_STATE_IDLE) {
int position = layoutManager.findLastCompletelyVisibleItemPosition();
int position2 = layoutManager.findLastVisibleItemPosition();
Log.i("Home+++++++++++++++", "position==" + position);
Log.i("Home+++++++++++++++", "position2==" + position2);
if (position == adapter.getItemCount() - 1) {
Log.i("Home+++++++++++++++", "page++++");
currentPage++;
getBottomData();
}
@ -175,7 +171,7 @@ public class VTTabItemFragment extends Fragment {
adapter.addDataList(feedbackResp.data.getList(), false);
}
}else{
if (currentPage==1&&binding.banner.getVisibility()==View.GONE){
if (currentPage==1){
binding.ivEmptyData.setVisibility(View.VISIBLE);
}
}

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.home;
package com.shortdrama.jelly.zyreotv.ui.activity.home;
import android.os.Bundle;
import android.view.LayoutInflater;
@ -11,17 +11,17 @@ import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.LinearLayoutManager;
import com.jelly.zyreotv.app.api.VTApi;
import com.jelly.zyreotv.app.api.VTApiService;
import com.jelly.zyreotv.app.api.VTBaseObserver;
import com.jelly.zyreotv.app.api.VTResult;
import com.shortdrama.jelly.zyreotv.api.VTApi;
import com.shortdrama.jelly.zyreotv.api.VTApiService;
import com.shortdrama.jelly.zyreotv.api.VTBaseObserver;
import com.shortdrama.jelly.zyreotv.api.VTResult;
import com.jelly.zyreotv.app.databinding.FragmentTopVtBinding;
import com.jelly.zyreotv.app.databinding.ItemHomeExploreVtBinding;
import com.jelly.zyreotv.app.model.VTVideoListBean;
import com.shortdrama.jelly.zyreotv.databinding.FragmentTopVtBinding;
import com.shortdrama.jelly.zyreotv.databinding.ItemHomeExploreVtBinding;
import com.shortdrama.jelly.zyreotv.model.VTVideoListBean;
import com.jelly.zyreotv.app.ui.adapter.VTTop10ListAdapter;
import com.jelly.zyreotv.app.utils.IntentUtils;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTTop10ListAdapter;
import com.shortdrama.jelly.zyreotv.utils.IntentUtils;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.me;
package com.shortdrama.jelly.zyreotv.ui.activity.me;
import android.content.Intent;
import android.os.Bundle;
@ -13,14 +13,14 @@ import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.LinearLayoutManager;
import com.bumptech.glide.Glide;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.api.VTApiService;
import com.jelly.zyreotv.app.databinding.FragmentMeBinding;
import com.jelly.zyreotv.app.databinding.ItemVideoHistoryBinding;
import com.jelly.zyreotv.app.ui.activity.WebViewActivity;
import com.jelly.zyreotv.app.ui.adapter.VTUserVideoHistoryAdapter;
import com.jelly.zyreotv.app.utils.IntentUtils;
import com.jelly.zyreotv.app.utils.VTAppConstants;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.api.VTApiService;
import com.shortdrama.jelly.zyreotv.databinding.FragmentMeBinding;
import com.shortdrama.jelly.zyreotv.databinding.ItemVideoHistoryBinding;
import com.shortdrama.jelly.zyreotv.ui.activity.WebViewActivity;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTUserVideoHistoryAdapter;
import com.shortdrama.jelly.zyreotv.utils.IntentUtils;
import com.shortdrama.jelly.zyreotv.utils.VTAppConstants;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;

View File

@ -1,15 +1,13 @@
package com.jelly.zyreotv.app.ui.activity.me;
import android.util.Log;
package com.shortdrama.jelly.zyreotv.ui.activity.me;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.jelly.zyreotv.app.api.VTApi;
import com.jelly.zyreotv.app.api.VTBaseObserver;
import com.jelly.zyreotv.app.api.VTResult;
import com.jelly.zyreotv.app.model.VTUserInfoBean;
import com.jelly.zyreotv.app.model.VTVideoListBean;
import com.shortdrama.jelly.zyreotv.api.VTApi;
import com.shortdrama.jelly.zyreotv.api.VTBaseObserver;
import com.shortdrama.jelly.zyreotv.api.VTResult;
import com.shortdrama.jelly.zyreotv.model.VTUserInfoBean;
import com.shortdrama.jelly.zyreotv.model.VTVideoListBean;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;
@ -50,7 +48,6 @@ public class VTUserViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
userInfoLiveData.setValue(null);
}
});
@ -69,7 +66,6 @@ public class VTUserViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
userVideoHistoryLiveData.setValue(null);
}
});
@ -87,7 +83,6 @@ public class VTUserViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
userFollowListLiveData.setValue(null);
}
});

View File

@ -1,10 +1,9 @@
package com.jelly.zyreotv.app.ui.activity.mylist;
package com.shortdrama.jelly.zyreotv.ui.activity.mylist;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@ -15,16 +14,16 @@ import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.GridLayoutManager;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.FragmentMylistFollowlistBinding;
import com.jelly.zyreotv.app.databinding.ItemMylistFollowlistVtBinding;
import com.jelly.zyreotv.app.model.VTVideoDetailsBean;
import com.jelly.zyreotv.app.ui.activity.basic.VTBaseEventBus;
import com.jelly.zyreotv.app.ui.activity.me.VTUserViewModel;
import com.jelly.zyreotv.app.ui.activity.play.VTVideoViewModel;
import com.jelly.zyreotv.app.ui.adapter.VTMyListFollowAdapter;
import com.jelly.zyreotv.app.utils.IntentUtils;
import com.jelly.zyreotv.app.utils.VTAppConstants;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.FragmentMylistFollowlistBinding;
import com.shortdrama.jelly.zyreotv.databinding.ItemMylistFollowlistVtBinding;
import com.shortdrama.jelly.zyreotv.model.VTVideoDetailsBean;
import com.shortdrama.jelly.zyreotv.ui.activity.basic.VTBaseEventBus;
import com.shortdrama.jelly.zyreotv.ui.activity.me.VTUserViewModel;
import com.shortdrama.jelly.zyreotv.ui.activity.play.VTVideoViewModel;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTMyListFollowAdapter;
import com.shortdrama.jelly.zyreotv.utils.IntentUtils;
import com.shortdrama.jelly.zyreotv.utils.VTAppConstants;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
@ -124,7 +123,6 @@ public class VTFollowListFragment extends Fragment {
shortPlayInfo.setIs_collect(false);
EventBus.getDefault().post(new VTBaseEventBus<>(VTAppConstants.Constants_Episodes_Series_DataExample, shortPlayInfo));
List<Fragment> fragments = getParentFragmentManager().getFragments();
Log.i(" ","fragments=="+fragments.size());
for (Fragment fragment:fragments){
if(fragment instanceof VTMyListFragment){
((VTMyListFragment)fragment).setCancelView();
@ -166,10 +164,12 @@ public class VTFollowListFragment extends Fragment {
adapter.addDataList(vtResult.data.getList(), currentPage == 1);
}else{
// binding.layoutMylistfollowEmpty.setVisibility(View.VISIBLE);
if(currentPage==1){
binding.recyclerviewMylistFollow.setVisibility(GONE);
binding.ivFollowEmpty.setVisibility(VISIBLE);
}
Log.i("tag count","count=="+adapter.getItemCount());
}
List<Fragment> fragments = getParentFragmentManager().getFragments();
for (Fragment fragment:fragments){
if(fragment instanceof VTMyListFragment){

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.mylist;
package com.shortdrama.jelly.zyreotv.ui.activity.mylist;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
@ -13,9 +13,9 @@ import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import com.google.android.material.tabs.TabLayoutMediator;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.FragmentMylistBinding;
import com.jelly.zyreotv.app.ui.adapter.VTTabCommonAdapter;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.FragmentMylistBinding;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTTabCommonAdapter;
import java.util.ArrayList;
import java.util.List;
@ -102,7 +102,7 @@ public class VTMyListFragment extends Fragment {
public void setDeleteView(boolean isVisible){
binding.tvMylistCancel.setVisibility(GONE);
binding.ivMylistDelete.setVisibility(isVisible?VISIBLE:GONE);
binding.ivMylistDelete.setVisibility(GONE);
}
}

View File

@ -1,10 +1,9 @@
package com.jelly.zyreotv.app.ui.activity.mylist;
package com.shortdrama.jelly.zyreotv.ui.activity.mylist;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@ -15,12 +14,12 @@ import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.GridLayoutManager;
import com.jelly.zyreotv.app.databinding.FragmentMylistPlaylistBinding;
import com.jelly.zyreotv.app.databinding.ItemMylistPlaylistVtBinding;
import com.jelly.zyreotv.app.ui.activity.me.VTUserViewModel;
import com.jelly.zyreotv.app.ui.adapter.VTMyListPlayAdapter;
import com.jelly.zyreotv.app.utils.IntentUtils;
import com.jelly.zyreotv.app.utils.VTAppConstants;
import com.shortdrama.jelly.zyreotv.databinding.FragmentMylistPlaylistBinding;
import com.shortdrama.jelly.zyreotv.databinding.ItemMylistPlaylistVtBinding;
import com.shortdrama.jelly.zyreotv.ui.activity.me.VTUserViewModel;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTMyListPlayAdapter;
import com.shortdrama.jelly.zyreotv.utils.IntentUtils;
import com.shortdrama.jelly.zyreotv.utils.VTAppConstants;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
@ -112,13 +111,15 @@ public class VTPlayListFragment extends Fragment {
// binding.layoutMylistfollowEmpty.setVisibility(View.GONE);
binding.recyclerviewMylistPlay.setVisibility(View.VISIBLE);
binding.ivPlaylistEmpty.setVisibility(GONE);
Log.i("tag","result==="+vtResult.data);
if(vtResult!=null&&vtResult.data!=null&& !vtResult.data.getList().isEmpty()){
adapter.addDataList(vtResult.data.getList(), currentPage == 1);
}else{
if(currentPage==1){
binding.recyclerviewMylistPlay.setVisibility(GONE);
binding.ivPlaylistEmpty.setVisibility(VISIBLE);
}
}
});
}

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.play;
package com.shortdrama.jelly.zyreotv.ui.activity.play;
import android.app.Dialog;
import android.os.Bundle;
@ -9,11 +9,11 @@ import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.DialogFragment;
import androidx.recyclerview.widget.GridLayoutManager;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.DialogPageEpisodesSelectVtBinding;
import com.jelly.zyreotv.app.model.VTVideoDetailsBean;
import com.jelly.zyreotv.app.ui.adapter.VTEpisodesSeriesAdapter;
import com.jelly.zyreotv.app.utils.VTAppConstants;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.DialogPageEpisodesSelectVtBinding;
import com.shortdrama.jelly.zyreotv.model.VTVideoDetailsBean;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTEpisodesSeriesAdapter;
import com.shortdrama.jelly.zyreotv.utils.VTAppConstants;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.play;
package com.shortdrama.jelly.zyreotv.ui.activity.play;
import android.annotation.SuppressLint;
@ -11,20 +11,20 @@ import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewpager2.widget.ViewPager2;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.VTApplication;
import com.jelly.zyreotv.app.api.VTResult;
import com.jelly.zyreotv.app.databinding.ActivityVideoDetailsVtBinding;
import com.jelly.zyreotv.app.model.VTVideoDetailsBean;
import com.jelly.zyreotv.app.ui.activity.basic.VTBaseEventBus;
import com.jelly.zyreotv.app.ui.activity.basic.VTCommonActivity;
import com.jelly.zyreotv.app.ui.adapter.VTGooglePlayerAdapter;
import com.jelly.zyreotv.app.ui.view.VTGoogleExoPlayerView;
import com.jelly.zyreotv.app.utils.SingleClickUtils;
import com.jelly.zyreotv.app.utils.TimeUtils;
import com.jelly.zyreotv.app.utils.ToastUtils;
import com.jelly.zyreotv.app.utils.TranslatesUtils;
import com.jelly.zyreotv.app.utils.VTAppConstants;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.VTApplication;
import com.shortdrama.jelly.zyreotv.api.VTResult;
import com.shortdrama.jelly.zyreotv.databinding.ActivityVideoDetailsVtBinding;
import com.shortdrama.jelly.zyreotv.model.VTVideoDetailsBean;
import com.shortdrama.jelly.zyreotv.ui.activity.basic.VTBaseEventBus;
import com.shortdrama.jelly.zyreotv.ui.activity.basic.VTCommonActivity;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTGooglePlayerAdapter;
import com.shortdrama.jelly.zyreotv.ui.view.VTGoogleExoPlayerView;
import com.shortdrama.jelly.zyreotv.utils.SingleClickUtils;
import com.shortdrama.jelly.zyreotv.utils.TimeUtils;
import com.shortdrama.jelly.zyreotv.utils.ToastUtils;
import com.shortdrama.jelly.zyreotv.utils.TranslatesUtils;
import com.shortdrama.jelly.zyreotv.utils.VTAppConstants;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;

View File

@ -1,14 +1,12 @@
package com.jelly.zyreotv.app.ui.activity.play;
import android.util.Log;
package com.shortdrama.jelly.zyreotv.ui.activity.play;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.jelly.zyreotv.app.api.VTApi;
import com.jelly.zyreotv.app.api.VTBaseObserver;
import com.jelly.zyreotv.app.api.VTResult;
import com.jelly.zyreotv.app.model.VTVideoDetailsBean;
import com.shortdrama.jelly.zyreotv.api.VTApi;
import com.shortdrama.jelly.zyreotv.api.VTBaseObserver;
import com.shortdrama.jelly.zyreotv.api.VTResult;
import com.shortdrama.jelly.zyreotv.model.VTVideoDetailsBean;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;
@ -40,13 +38,11 @@ public class VTVideoViewModel extends ViewModel {
.subscribe(new VTBaseObserver<VTResult<VTVideoDetailsBean>>() {
@Override
public void onSuccess(VTResult<VTVideoDetailsBean> feedbackResp) {
Log.i("tag===", feedbackResp.data.shortPlayInfo.getShort_id() + "");
getVideoDetailsLiveData.setValue(feedbackResp);
}
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
}
});
}
@ -80,7 +76,6 @@ public class VTVideoViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
collectionLiveData.setValue(null);
}
});
@ -98,7 +93,6 @@ public class VTVideoViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
collectioncancelLiveData.setValue(null);
}
});

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.activity.search;
package com.shortdrama.jelly.zyreotv.ui.activity.search;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
@ -13,17 +13,17 @@ import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.StaggeredGridLayoutManager;
import com.google.gson.reflect.TypeToken;
import com.jelly.zyreotv.app.databinding.ActivitySearchVtBinding;
import com.jelly.zyreotv.app.databinding.ItemSearchDataVtBinding;
import com.jelly.zyreotv.app.databinding.ItemSearchHotVtBinding;
import com.jelly.zyreotv.app.ui.activity.basic.VTCommonActivity;
import com.jelly.zyreotv.app.ui.adapter.VTSearchDataAdapter;
import com.jelly.zyreotv.app.ui.adapter.VTSearchHistoryAdapter;
import com.jelly.zyreotv.app.ui.adapter.VTSearchHotListAdapter;
import com.jelly.zyreotv.app.utils.IntentUtils;
import com.jelly.zyreotv.app.utils.SharePreferenceUtils;
import com.jelly.zyreotv.app.utils.VTAppConstants;
import com.jelly.zyreotv.app.utils.VTGsonUtils;
import com.shortdrama.jelly.zyreotv.databinding.ActivitySearchVtBinding;
import com.shortdrama.jelly.zyreotv.databinding.ItemSearchDataVtBinding;
import com.shortdrama.jelly.zyreotv.databinding.ItemSearchHotVtBinding;
import com.shortdrama.jelly.zyreotv.ui.activity.basic.VTCommonActivity;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTSearchDataAdapter;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTSearchHistoryAdapter;
import com.shortdrama.jelly.zyreotv.ui.adapter.VTSearchHotListAdapter;
import com.shortdrama.jelly.zyreotv.utils.IntentUtils;
import com.shortdrama.jelly.zyreotv.utils.SharePreferenceUtils;
import com.shortdrama.jelly.zyreotv.utils.VTAppConstants;
import com.shortdrama.jelly.zyreotv.utils.VTGsonUtils;
import java.util.ArrayList;

View File

@ -1,14 +1,12 @@
package com.jelly.zyreotv.app.ui.activity.search;
import android.util.Log;
package com.shortdrama.jelly.zyreotv.ui.activity.search;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.jelly.zyreotv.app.api.VTApi;
import com.jelly.zyreotv.app.api.VTBaseObserver;
import com.jelly.zyreotv.app.api.VTResult;
import com.jelly.zyreotv.app.model.VTVideoListBean;
import com.shortdrama.jelly.zyreotv.api.VTApi;
import com.shortdrama.jelly.zyreotv.api.VTBaseObserver;
import com.shortdrama.jelly.zyreotv.api.VTResult;
import com.shortdrama.jelly.zyreotv.model.VTVideoListBean;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;
@ -41,7 +39,6 @@ public class VTSearchViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
searchHotListLiveData.setValue(null);
}
@ -61,7 +58,6 @@ public class VTSearchViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
searchDataListLiveData.setValue(null);
}
});
@ -80,7 +76,6 @@ public class VTSearchViewModel extends ViewModel {
@Override
public void onError(int code, String msg) {
Log.i("tag===", msg + "");
}
});
}

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.view.LayoutInflater;
import android.view.View;
@ -10,8 +10,8 @@ import androidx.appcompat.widget.AppCompatTextView;
import androidx.recyclerview.widget.RecyclerView;
import com.bumptech.glide.Glide;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.model.ItemBean;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
import com.youth.banner.adapter.BannerAdapter;
import java.util.List;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.annotation.SuppressLint;
import android.content.Context;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.annotation.SuppressLint;
import android.content.Context;
@ -8,8 +8,8 @@ import android.widget.RelativeLayout;
import androidx.appcompat.widget.AppCompatTextView;
import com.chad.library.adapter4.BaseQuickAdapter;
import com.chad.library.adapter4.viewholder.QuickViewHolder;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.model.VTVideoDetailsBean;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.model.VTVideoDetailsBean;
public class VTEpisodesSeriesAdapter extends BaseQuickAdapter<VTVideoDetailsBean.Episode, QuickViewHolder> {

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.content.Context;
import android.view.ViewGroup;
@ -14,9 +14,9 @@ import androidx.media3.ui.PlayerView;
import com.chad.library.adapter4.BaseQuickAdapter;
import com.chad.library.adapter4.viewholder.QuickViewHolder;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.model.VTVideoDetailsBean;
import com.jelly.zyreotv.app.ui.view.VTGoogleExoPlayerView;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.model.VTVideoDetailsBean;
import com.shortdrama.jelly.zyreotv.ui.view.VTGoogleExoPlayerView;
public class VTGooglePlayerAdapter

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.content.Context;
import android.view.ViewGroup;
@ -14,9 +14,9 @@ import androidx.media3.ui.PlayerView;
import com.chad.library.adapter4.BaseQuickAdapter;
import com.chad.library.adapter4.viewholder.QuickViewHolder;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.model.VTVideoExploreBean;
import com.jelly.zyreotv.app.ui.view.VTHomeGoogleExoPlayerView;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.model.VTVideoExploreBean;
import com.shortdrama.jelly.zyreotv.ui.view.VTHomeGoogleExoPlayerView;
public class VTGooglePlayerExploreAdapter

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.content.Context;
import android.view.View;
@ -10,9 +10,9 @@ import android.view.View;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemHomeExploreVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.ItemHomeExploreVtBinding;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
/**
* Home Hotbottom Home Top10
@ -39,7 +39,6 @@ public class VTHotBottomListAdapter
Glide.with(mcontext)
.load(data.getImage_url())
.placeholder(R.mipmap.ic_loadingdefault_ver)
.apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.RESOURCE))
.into(binding.ivHotExploreItem);
binding.tvHomeExploretitleItem.setText(data.getName());
binding.tvHomeExplorecontentItem.setText(data.getDescription());

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
@ -12,9 +12,9 @@ import android.content.Context;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemMylistFollowlistVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.ItemMylistFollowlistVtBinding;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
public class VTMyListFollowAdapter
@ -64,7 +64,6 @@ public class VTMyListFollowAdapter
Glide.with(mcontext)
.load(data.getImage_url())
.placeholder(R.mipmap.ic_loadingdefault_ver)
.apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.NONE))
.into(binding.ivMylistFollowlistItem);
binding.tvMylistFollowlistName.setText(data.getName());
binding.ivMylistSelector.setVisibility(GONE);

View File

@ -2,17 +2,17 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.content.Context;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemMylistPlaylistVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
import com.jelly.zyreotv.app.utils.TimeUtils;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.ItemMylistPlaylistVtBinding;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
import com.shortdrama.jelly.zyreotv.utils.TimeUtils;
public class VTMyListPlayAdapter
@ -38,7 +38,6 @@ public class VTMyListPlayAdapter
Glide.with(mcontext)
.load(data.getImage_url())
.placeholder(R.mipmap.ic_loadingdefault_ver)
.apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.NONE))
.into(binding.ivMylistPlayItem);
binding.tvMylistPlaylistName.setText(data.getName());
binding.tvMylistPlaylistEp.setText(String.format(mcontext.getString(R.string.mylist_playlist_process),data.getCurrent_episode(),data.getEpisode_total()));

View File

@ -2,16 +2,16 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.content.Context;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemHotSquareVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.ItemHotSquareVtBinding;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
public class VTNineSquareAdapter
@ -36,7 +36,6 @@ public class VTNineSquareAdapter
Glide.with(mcontext)
.load(data.getImage_url())
.placeholder(R.mipmap.ic_loadingdefault_ver)
.apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.NONE))
.into(binding.ivHotSquareItem);
binding.tvHotSquareDesc.setText(data.getName());
}

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.content.Context;
import android.view.View;
@ -10,8 +10,8 @@ import android.view.View;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.jelly.zyreotv.app.databinding.ItemSearchDataVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
import com.shortdrama.jelly.zyreotv.databinding.ItemSearchDataVtBinding;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
public class VTSearchDataAdapter
@ -54,7 +54,6 @@ public class VTSearchDataAdapter
//
Glide.with(mcontext)
.load(data.getImage_url())
.apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.RESOURCE))
.into(binding.ivSearchDataItem);
binding.tvSearchDatatitleItem.setText(data.getName());
binding.tvSearchDatadescItem.setText(data.getDescription());

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.content.Context;
import android.view.View;
@ -10,10 +10,10 @@ import android.view.View;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemSearchHotVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
import com.jelly.zyreotv.app.utils.TimeUtils;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.ItemSearchHotVtBinding;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
import com.shortdrama.jelly.zyreotv.utils.TimeUtils;
public class VTSearchHotListAdapter
@ -43,7 +43,6 @@ public class VTSearchHotListAdapter
//
Glide.with(mcontext)
.load(data.getImage_url())
.apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.RESOURCE))
.into(binding.ivHotSearchItem);
binding.tvSearchHottitleItem.setText(data.getName());
binding.tvSearchHottotalItem.setText(TimeUtils.formatNumber(data.getWatch_total()));

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;

View File

@ -2,16 +2,16 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.content.Context;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemHomeTablistVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.ItemHomeTablistVtBinding;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
public class VTTabItemListAdapter
@ -40,7 +40,6 @@ public class VTTabItemListAdapter
Glide.with(mcontext)
.load(imageUrl)
.placeholder(R.mipmap.ic_loadingdefault_hor)
.apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.RESOURCE))
.into(binding.ivHometabItem);
binding.tvHometabTitleItem.setText(data.getName());
binding.tvHometabContentItem.setText(data.getDescription());

View File

@ -2,17 +2,17 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.jelly.zyreotv.app.ui.adapter;
package com.shortdrama.jelly.zyreotv.ui.adapter;
import android.content.Context;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemVideoHistoryBinding;
import com.jelly.zyreotv.app.model.ItemBean;
import com.jelly.zyreotv.app.utils.TimeUtils;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.ItemVideoHistoryBinding;
import com.shortdrama.jelly.zyreotv.model.ItemBean;
import com.shortdrama.jelly.zyreotv.utils.TimeUtils;
public class VTUserVideoHistoryAdapter
@ -43,7 +43,6 @@ public class VTUserVideoHistoryAdapter
Glide.with(mcontext)
.load(data.getImage_url())
.placeholder(R.mipmap.ic_loadingdefault_ver)
.apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.RESOURCE))
.into(binding.ivHistoryItem);
binding.tvHistoryProgress.setText(TimeUtils.precess(data.getCurrent_episode(),data.getEpisode_total())+"%");

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.view;
package com.shortdrama.jelly.zyreotv.ui.view;
import android.content.Context;
import android.util.AttributeSet;
@ -12,7 +12,7 @@ import android.widget.FrameLayout;
import androidx.annotation.Nullable;
import com.jelly.zyreotv.app.R;
import com.shortdrama.jelly.zyreotv.R;
public class ProgressLineView extends FrameLayout {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.view;
package com.shortdrama.jelly.zyreotv.ui.view;
import android.animation.ValueAnimator;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.view;
package com.shortdrama.jelly.zyreotv.ui.view;
import android.content.Context;
import android.net.Uri;
@ -20,13 +20,13 @@ import androidx.media3.common.Player;
import androidx.media3.exoplayer.ExoPlayer;
import com.bumptech.glide.Glide;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.LayoutVideoplayVtBinding;
import com.jelly.zyreotv.app.model.VTVideoDetailsBean;
import com.jelly.zyreotv.app.utils.TimeUtils;
import com.jelly.zyreotv.app.utils.ToastUtils;
import com.jelly.zyreotv.app.utils.TranslatesUtils;
import com.jelly.zyreotv.app.utils.VTAppConstants;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.databinding.LayoutVideoplayVtBinding;
import com.shortdrama.jelly.zyreotv.model.VTVideoDetailsBean;
import com.shortdrama.jelly.zyreotv.utils.TimeUtils;
import com.shortdrama.jelly.zyreotv.utils.ToastUtils;
import com.shortdrama.jelly.zyreotv.utils.TranslatesUtils;
import com.shortdrama.jelly.zyreotv.utils.VTAppConstants;
import org.greenrobot.eventbus.EventBus;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.ui.view;
package com.shortdrama.jelly.zyreotv.ui.view;
import android.content.Context;
import android.net.Uri;
@ -20,14 +20,14 @@ import androidx.media3.common.Player;
import androidx.media3.exoplayer.ExoPlayer;
import com.bumptech.glide.Glide;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.VTApplication;
import com.jelly.zyreotv.app.databinding.LayoutVideoplayHomeVtBinding;
import com.jelly.zyreotv.app.model.VTVideoExploreBean;
import com.jelly.zyreotv.app.utils.TimeUtils;
import com.jelly.zyreotv.app.utils.ToastUtils;
import com.jelly.zyreotv.app.utils.TranslatesUtils;
import com.jelly.zyreotv.app.utils.VTAppConstants;
import com.shortdrama.jelly.zyreotv.R;
import com.shortdrama.jelly.zyreotv.VTApplication;
import com.shortdrama.jelly.zyreotv.databinding.LayoutVideoplayHomeVtBinding;
import com.shortdrama.jelly.zyreotv.model.VTVideoExploreBean;
import com.shortdrama.jelly.zyreotv.utils.TimeUtils;
import com.shortdrama.jelly.zyreotv.utils.ToastUtils;
import com.shortdrama.jelly.zyreotv.utils.TranslatesUtils;
import com.shortdrama.jelly.zyreotv.utils.VTAppConstants;
import org.greenrobot.eventbus.EventBus;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.utils;
package com.shortdrama.jelly.zyreotv.utils;
import android.annotation.SuppressLint;
import android.content.Context;

View File

@ -1,11 +1,11 @@
package com.jelly.zyreotv.app.utils;
package com.shortdrama.jelly.zyreotv.utils;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import com.jelly.zyreotv.app.ui.activity.play.VTVideoPlayerActivity;
import com.jelly.zyreotv.app.ui.activity.search.VTSearchActivity;
import com.shortdrama.jelly.zyreotv.ui.activity.play.VTVideoPlayerActivity;
import com.shortdrama.jelly.zyreotv.ui.activity.search.VTSearchActivity;
public class IntentUtils {

View File

@ -1,6 +1,6 @@
package com.jelly.zyreotv.app.utils;
package com.shortdrama.jelly.zyreotv.utils;
import static com.jelly.zyreotv.app.VTApplication.AppContext;
import static com.shortdrama.jelly.zyreotv.VTApplication.AppContext;
import android.app.Activity;
import android.content.Context;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.utils;
package com.shortdrama.jelly.zyreotv.utils;
import java.util.Date;
import java.util.TimeZone;

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.utils;
package com.shortdrama.jelly.zyreotv.utils;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;

View File

@ -1,9 +1,9 @@
package com.jelly.zyreotv.app.utils;
package com.shortdrama.jelly.zyreotv.utils;
import android.os.Handler;
import android.os.Looper;
import android.widget.Toast;
import com.jelly.zyreotv.app.VTApplication;
import com.shortdrama.jelly.zyreotv.VTApplication;
public class ToastUtils {
private static Toast toast;

View File

@ -1,6 +1,6 @@
package com.jelly.zyreotv.app.utils;
package com.shortdrama.jelly.zyreotv.utils;
import com.jelly.zyreotv.app.model.TranslatesResBean;
import com.shortdrama.jelly.zyreotv.model.TranslatesResBean;
public class TranslatesUtils {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.utils;
package com.shortdrama.jelly.zyreotv.utils;
public class VTAppConstants {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.utils;
package com.shortdrama.jelly.zyreotv.utils;
public class VTDecyrptUtils {

View File

@ -1,4 +1,4 @@
package com.jelly.zyreotv.app.utils;
package com.shortdrama.jelly.zyreotv.utils;
import android.text.TextUtils;

View File

@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.jelly.zyreotv.app.ui.activity.VTMainActivity">
tools:context="com.shortdrama.jelly.zyreotv.ui.activity.VTMainActivity">
<androidx.viewpager2.widget.ViewPager2
android:id="@+id/container"

View File

@ -5,7 +5,7 @@
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.jelly.zyreotv.app.ui.activity.home.VTHomeFragment">
tools:context="com.shortdrama.jelly.zyreotv.ui.activity.home.VTHomeFragment">
<!-- <com.scwang.smart.refresh.layout.SmartRefreshLayout-->
<!-- android:id="@+id/refreshLayout"-->
@ -14,7 +14,7 @@
<!-- android:visibility="visible"-->
<!-- app:srlAccentColor="@android:color/transparent">-->
<!-- <com.jelly.zyreotv.app.ui.view.VTBezierCircleHeader-->
<!-- <com.shortdrama.jelly.zyreotv.ui.view.VTBezierCircleHeader-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content" />-->

View File

@ -6,7 +6,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@mipmap/iv_homefragment_bg"
tools:context="com.jelly.zyreotv.app.ui.activity.home.VTHomeFragment">
tools:context="com.shortdrama.jelly.zyreotv.ui.activity.home.VTHomeFragment">
<FrameLayout

View File

@ -6,7 +6,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@mipmap/iv_homefragment_bg"
tools:context="com.jelly.zyreotv.app.ui.activity.home.VTHomeFragment">
tools:context="com.shortdrama.jelly.zyreotv.ui.activity.home.VTHomeFragment">
<FrameLayout
android:id="@+id/layout_head"

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<com.jelly.zyreotv.app.ui.view.VTGoogleExoPlayerView xmlns:android="http://schemas.android.com/apk/res/android"
<com.shortdrama.jelly.zyreotv.ui.view.VTGoogleExoPlayerView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/page_google_exo_player"
android:layout_width="match_parent"
android:layout_height="match_parent">
</com.jelly.zyreotv.app.ui.view.VTGoogleExoPlayerView>
</com.shortdrama.jelly.zyreotv.ui.view.VTGoogleExoPlayerView>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<com.jelly.zyreotv.app.ui.view.VTHomeGoogleExoPlayerView xmlns:android="http://schemas.android.com/apk/res/android"
<com.shortdrama.jelly.zyreotv.ui.view.VTHomeGoogleExoPlayerView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/page_google_home_player"
android:layout_width="match_parent"
android:layout_height="match_parent">
</com.jelly.zyreotv.app.ui.view.VTHomeGoogleExoPlayerView>
</com.shortdrama.jelly.zyreotv.ui.view.VTHomeGoogleExoPlayerView>

View File

@ -122,7 +122,7 @@
android:thumb="@drawable/bg_shape_seekbar_player_vt"
android:thumbOffset="8dp" />
</androidx.appcompat.widget.LinearLayoutCompat>
<com.jelly.zyreotv.app.ui.view.ProgressLineView
<com.shortdrama.jelly.zyreotv.ui.view.ProgressLineView
android:id="@+id/load_line"
android:layout_width="match_parent"
android:layout_height="2dp"

View File

@ -57,7 +57,7 @@
android:padding="15dp"
android:src="@mipmap/iv_stop_vt" />
<com.jelly.zyreotv.app.ui.view.ProgressLineView
<com.shortdrama.jelly.zyreotv.ui.view.ProgressLineView
android:id="@+id/load_line"
android:layout_width="match_parent"
android:layout_height="2dp"