ZyreoTv v1.0

This commit is contained in:
guozhen 2025-04-17 16:42:02 +08:00
parent bbc2ba8b85
commit 219e5c769b
91 changed files with 331 additions and 453 deletions

View File

@ -3,11 +3,11 @@ plugins {
}
android {
namespace 'com.viontv.app'
namespace 'com.jelly.zyreotv.app'
compileSdk 35
defaultConfig {
applicationId "com.viontv.app"
applicationId "com.jelly.zyreotv.app"
minSdk 24
targetSdk 35
versionCode 1

View File

@ -170,8 +170,8 @@
-dontwarn com.viontv.app.**
-keep class com.viontv.app.** {*;}
-dontwarn com.jelly.zyreotv.app.**
-keep class com.jelly.zyreotv.app.** {*;}
# RxJava2核心类保留
-keepclassmembers class rx.internal.util.unsafe.* {

View File

@ -10,7 +10,7 @@
<application
android:name=".VTApplication"
android:name="com.jelly.zyreotv.app.VTApplication"
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
@ -21,7 +21,7 @@
android:theme="@style/Theme.VionTV">
<activity
android:name=".ui.activity.VTSplashActivity"
android:name="com.jelly.zyreotv.app.ui.activity.VTSplashActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@ -29,13 +29,13 @@
</intent-filter>
</activity>
<activity
android:name=".ui.activity.VTMainActivity"
android:name="com.jelly.zyreotv.app.ui.activity.VTMainActivity"
android:exported="true">
</activity>
<activity android:name=".ui.activity.play.VTVideoPlayerActivity" />
<activity android:name=".ui.activity.search.VTSearchActivity" />
<activity android:name=".ui.activity.WebViewActivity" />
<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" />
</application>
</manifest>

View File

@ -1,19 +1,16 @@
package com.viontv.app;
package com.jelly.zyreotv.app;
import android.app.Application;
import android.text.TextUtils;
import android.util.Log;
import com.viontv.app.api.VTApi;
import com.viontv.app.api.VTApiService;
import com.viontv.app.api.VTBaseObserver;
import com.viontv.app.api.VTResult;
import com.viontv.app.model.RegisteredBean;
import com.viontv.app.utils.SharePreferenceUtils;
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 io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;
import retrofit2.adapter.rxjava2.Result;
public class VTApplication extends Application {

View File

@ -1,13 +1,10 @@
package com.viontv.app.api;
package com.jelly.zyreotv.app.api;
import android.os.Build;
import android.text.TextUtils;
import android.util.Log;
import java.io.UnsupportedEncodingException;
import java.net.Proxy;
import java.net.URLDecoder;
import java.util.HashMap;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;

View File

@ -1,14 +1,14 @@
package com.viontv.app.api;
package com.jelly.zyreotv.app.api;
import com.viontv.app.model.VTVideoListBean;
import com.viontv.app.model.HomeTopBannerBean;
import com.viontv.app.model.HomeTopBean;
import com.viontv.app.model.RegisteredBean;
import com.viontv.app.model.TabItemBean;
import com.viontv.app.model.VTUserInfoBean;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.model.VTVideoExploreListBean;
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 io.reactivex.Observable;
import retrofit2.http.Field;

View File

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

View File

@ -1,4 +1,4 @@
package com.viontv.app.api;
package com.jelly.zyreotv.app.api;
import com.google.gson.JsonParseException;
@ -10,9 +10,7 @@ import java.net.UnknownHostException;
import java.text.ParseException;
import io.reactivex.observers.DisposableObserver;
import okhttp3.Interceptor;
import retrofit2.HttpException;
import retrofit2.Response;
public abstract class VTBaseObserver<T> extends DisposableObserver<T> {
/**

View File

@ -1,10 +1,10 @@
package com.viontv.app.api;
package com.jelly.zyreotv.app.api;
import android.util.Log;
import com.viontv.app.utils.VTDecyrptUtils;
import com.jelly.zyreotv.app.utils.VTDecyrptUtils;
import okhttp3.Interceptor;
import okhttp3.Response;

View File

@ -1,11 +1,11 @@
package com.viontv.app.api;
package com.jelly.zyreotv.app.api;
import java.io.IOException;
import com.viontv.app.VTApplication;
import com.viontv.app.utils.GetAndroidUniqueMark;
import com.viontv.app.utils.SharePreferenceUtils;
import com.viontv.app.utils.TimeUtils;
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 okhttp3.Interceptor;
import okhttp3.Request;

View File

@ -1,10 +1,9 @@
package com.viontv.app.api;
package com.jelly.zyreotv.app.api;
import com.viontv.app.utils.VTGsonUtils;
import com.jelly.zyreotv.app.utils.VTGsonUtils;
import java.io.Serializable;
import java.util.List;
/**
* created by wmm on 2020/9/8

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,4 @@
package com.viontv.app.model;
import java.util.List;
package com.jelly.zyreotv.app.model;
public class VTVideoExploreBean {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.activity.explore;
package com.jelly.zyreotv.app.ui.activity.explore;
import android.annotation.SuppressLint;
import android.os.Bundle;
@ -11,33 +11,25 @@ import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.appcompat.widget.AppCompatTextView;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewpager2.widget.ViewPager2;
import com.viontv.app.R;
import com.viontv.app.VTApplication;
import com.viontv.app.api.VTResult;
import com.viontv.app.databinding.FragmentExploreVtBinding;
import com.viontv.app.databinding.FragmentMainVtBinding;
import com.viontv.app.model.ItemBean;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.model.VTVideoExploreBean;
import com.viontv.app.model.VTVideoExploreListBean;
import com.viontv.app.ui.activity.basic.VTBaseEventBus;
import com.viontv.app.ui.activity.home.MainViewModel;
import com.viontv.app.ui.activity.play.VTVideoPlayerActivity;
import com.viontv.app.ui.activity.play.VTVideoViewModel;
import com.viontv.app.ui.adapter.VTGooglePlayerAdapter;
import com.viontv.app.ui.adapter.VTGooglePlayerExploreAdapter;
import com.viontv.app.ui.view.VTHomeGoogleExoPlayerView;
import com.viontv.app.utils.IntentUtils;
import com.viontv.app.utils.SingleClickUtils;
import com.viontv.app.utils.TimeUtils;
import com.viontv.app.utils.ToastUtils;
import com.viontv.app.utils.TranslatesUtils;
import com.viontv.app.utils.VTAppConstants;
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 org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;

View File

@ -1,15 +1,14 @@
package com.viontv.app.ui.activity.home;
package com.jelly.zyreotv.app.ui.activity.home;
import android.util.Log;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.viontv.app.api.VTApi;
import com.viontv.app.api.VTBaseObserver;
import com.viontv.app.api.VTResult;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.model.VTVideoExploreListBean;
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 io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;

View File

@ -1,6 +1,5 @@
package com.viontv.app.ui.activity.home;
package com.jelly.zyreotv.app.ui.activity.home;
import androidx.fragment.app.FragmentActivity;
import androidx.lifecycle.ViewModelProvider;
import android.os.Bundle;
@ -8,7 +7,6 @@ import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.viewpager2.adapter.FragmentStateAdapter;
import android.os.CountDownTimer;
import android.view.LayoutInflater;
@ -16,16 +14,16 @@ import android.view.View;
import android.view.ViewGroup;
import com.google.android.material.tabs.TabLayoutMediator;
import com.viontv.app.R;
import com.viontv.app.api.VTApi;
import com.viontv.app.api.VTBaseObserver;
import com.viontv.app.api.VTResult;
import com.viontv.app.databinding.FragmentMainVtBinding;
import com.viontv.app.model.CateGoryItemBean;
import com.viontv.app.model.HomeTopBean;
import com.viontv.app.model.ItemBean;
import com.viontv.app.ui.adapter.VTTabCommonAdapter;
import com.viontv.app.utils.IntentUtils;
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 java.util.ArrayList;
import java.util.List;
@ -36,7 +34,7 @@ import io.reactivex.schedulers.Schedulers;
public class VTHomeFragment extends Fragment {
private com.viontv.app.ui.activity.home.MainViewModel mViewModel;
private MainViewModel mViewModel;
private FragmentMainVtBinding binding;
private ArrayList<String> titles;
@ -50,7 +48,7 @@ public class VTHomeFragment extends Fragment {
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mViewModel = new ViewModelProvider(this).get(com.viontv.app.ui.activity.home.MainViewModel.class);
mViewModel = new ViewModelProvider(this).get(MainViewModel.class);
// TODO: Use the ViewModel
}

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.activity.home;
package com.jelly.zyreotv.app.ui.activity.home;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
@ -15,25 +15,23 @@ import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.viontv.app.api.VTApi;
import com.viontv.app.api.VTBaseObserver;
import com.viontv.app.api.VTResult;
import com.viontv.app.databinding.FragmentHotVtBinding;
import com.viontv.app.databinding.ItemHomeExploreVtBinding;
import com.viontv.app.databinding.ItemHotSquareVtBinding;
import com.viontv.app.model.VTVideoListBean;
import com.viontv.app.model.HomeNineSquareBean;
import com.viontv.app.model.HomeTopBannerBean;
import com.viontv.app.model.ItemBean;
import com.viontv.app.ui.adapter.VTBannerHomeAdapter;
import com.viontv.app.ui.adapter.VTHotBottomListAdapter;
import com.viontv.app.ui.adapter.VTNineSquareAdapter;
import com.viontv.app.utils.IntentUtils;
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.youth.banner.listener.OnBannerListener;
import java.util.ArrayList;
import java.util.List;
import io.reactivex.android.schedulers.AndroidSchedulers;

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.activity.home;
package com.jelly.zyreotv.app.ui.activity.home;
import android.os.Bundle;
import android.util.Log;
@ -14,17 +14,17 @@ import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.viontv.app.api.VTApi;
import com.viontv.app.api.VTBaseObserver;
import com.viontv.app.api.VTResult;
import com.viontv.app.databinding.FragmentCategoryItemBinding;
import com.viontv.app.databinding.ItemHomeTablistVtBinding;
import com.viontv.app.model.VTVideoListBean;
import com.viontv.app.model.ItemBean;
import com.viontv.app.model.TabItemBean;
import com.viontv.app.ui.adapter.VTBannerHomeAdapter;
import com.viontv.app.ui.adapter.VTTabItemListAdapter;
import com.viontv.app.utils.IntentUtils;
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 java.util.List;

View File

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

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.activity.me;
package com.jelly.zyreotv.app.ui.activity.me;
import android.content.Intent;
import android.os.Bundle;
@ -13,30 +13,19 @@ import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.LinearLayoutManager;
import com.bumptech.glide.Glide;
import com.viontv.app.R;
import com.viontv.app.api.VTApiService;
import com.viontv.app.databinding.FragmentMainVtBinding;
import com.viontv.app.databinding.FragmentMeBinding;
import com.viontv.app.databinding.ItemHomeExploreVtBinding;
import com.viontv.app.databinding.ItemVideoHistoryBinding;
import com.viontv.app.model.ItemBean;
import com.viontv.app.ui.activity.WebViewActivity;
import com.viontv.app.ui.activity.home.MainViewModel;
import com.viontv.app.ui.adapter.VTCommonAdapter;
import com.viontv.app.ui.adapter.VTGooglePlayerExploreAdapter;
import com.viontv.app.ui.adapter.VTTop10ListAdapter;
import com.viontv.app.ui.adapter.VTUserVideoHistoryAdapter;
import com.viontv.app.utils.IntentUtils;
import com.viontv.app.utils.ToastUtils;
import com.viontv.app.utils.TranslatesUtils;
import com.viontv.app.utils.VTAppConstants;
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 org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
import java.util.Objects;
public class VTMeFragment extends Fragment {

View File

@ -1,16 +1,15 @@
package com.viontv.app.ui.activity.me;
package com.jelly.zyreotv.app.ui.activity.me;
import android.util.Log;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.viontv.app.api.VTApi;
import com.viontv.app.api.VTBaseObserver;
import com.viontv.app.api.VTResult;
import com.viontv.app.model.VTUserInfoBean;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.model.VTVideoListBean;
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 io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.activity.mylist;
package com.jelly.zyreotv.app.ui.activity.mylist;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
@ -11,36 +11,25 @@ import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.appcompat.widget.AppCompatTextView;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.GridLayoutManager;
import com.google.android.material.tabs.TabLayoutMediator;
import com.viontv.app.R;
import com.viontv.app.api.VTResult;
import com.viontv.app.databinding.FragmentMylistBinding;
import com.viontv.app.databinding.FragmentMylistFollowlistBinding;
import com.viontv.app.databinding.ItemHotSquareVtBinding;
import com.viontv.app.databinding.ItemMylistFollowlistVtBinding;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.ui.activity.basic.VTBaseEventBus;
import com.viontv.app.ui.activity.me.VTUserViewModel;
import com.viontv.app.ui.activity.play.VTVideoViewModel;
import com.viontv.app.ui.adapter.VTMyListFollowAdapter;
import com.viontv.app.ui.adapter.VTNineSquareAdapter;
import com.viontv.app.ui.adapter.VTTabCommonAdapter;
import com.viontv.app.utils.IntentUtils;
import com.viontv.app.utils.TimeUtils;
import com.viontv.app.utils.VTAppConstants;
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 org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.activity.mylist;
package com.jelly.zyreotv.app.ui.activity.mylist;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
@ -11,21 +11,11 @@ import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider;
import com.google.android.material.tabs.TabLayout;
import com.google.android.material.tabs.TabLayoutMediator;
import com.viontv.app.R;
import com.viontv.app.databinding.FragmentMainVtBinding;
import com.viontv.app.databinding.FragmentMylistBinding;
import com.viontv.app.model.CateGoryItemBean;
import com.viontv.app.ui.activity.home.MainViewModel;
import com.viontv.app.ui.activity.home.VTHomeFragment;
import com.viontv.app.ui.activity.home.VTHotFragment;
import com.viontv.app.ui.activity.home.VTTabItemFragment;
import com.viontv.app.ui.activity.home.VTTopFragment;
import com.viontv.app.ui.activity.me.VTUserViewModel;
import com.viontv.app.ui.adapter.VTTabCommonAdapter;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.FragmentMylistBinding;
import com.jelly.zyreotv.app.ui.adapter.VTTabCommonAdapter;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.activity.mylist;
package com.jelly.zyreotv.app.ui.activity.mylist;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
@ -11,40 +11,21 @@ import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.appcompat.widget.AppCompatTextView;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.GridLayoutManager;
import com.google.android.material.tabs.TabLayoutMediator;
import com.viontv.app.R;
import com.viontv.app.api.VTResult;
import com.viontv.app.databinding.FragmentMylistBinding;
import com.viontv.app.databinding.FragmentMylistFollowlistBinding;
import com.viontv.app.databinding.FragmentMylistPlaylistBinding;
import com.viontv.app.databinding.ItemHotSquareVtBinding;
import com.viontv.app.databinding.ItemMylistFollowlistVtBinding;
import com.viontv.app.databinding.ItemMylistPlaylistVtBinding;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.ui.activity.basic.VTBaseEventBus;
import com.viontv.app.ui.activity.me.VTUserViewModel;
import com.viontv.app.ui.adapter.VTMyListFollowAdapter;
import com.viontv.app.ui.adapter.VTMyListPlayAdapter;
import com.viontv.app.ui.adapter.VTNineSquareAdapter;
import com.viontv.app.ui.adapter.VTTabCommonAdapter;
import com.viontv.app.utils.IntentUtils;
import com.viontv.app.utils.TimeUtils;
import com.viontv.app.utils.VTAppConstants;
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 org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
import java.util.ArrayList;
import java.util.List;
public class VTPlayListFragment extends Fragment {

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.activity.play;
package com.jelly.zyreotv.app.ui.activity.play;
import android.app.Dialog;
import android.os.Bundle;
@ -9,13 +9,11 @@ import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.DialogFragment;
import androidx.recyclerview.widget.GridLayoutManager;
import com.viontv.app.R;
import com.viontv.app.databinding.DialogPageEpisodesSelectVtBinding;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.ui.adapter.VTEpisodesSeriesAdapter;
import com.viontv.app.utils.ToastUtils;
import com.viontv.app.utils.TranslatesUtils;
import com.viontv.app.utils.VTAppConstants;
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 java.util.List;

View File

@ -1,11 +1,8 @@
package com.viontv.app.ui.activity.play;
package com.jelly.zyreotv.app.ui.activity.play;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.appcompat.widget.AppCompatTextView;
@ -14,21 +11,20 @@ import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewpager2.widget.ViewPager2;
import com.viontv.app.R;
import com.viontv.app.VTApplication;
import com.viontv.app.api.VTResult;
import com.viontv.app.databinding.ActivityVideoDetailsVtBinding;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.ui.activity.basic.VTBaseEventBus;
import com.viontv.app.ui.activity.basic.VTCommonActivity;
import com.viontv.app.ui.adapter.VTGooglePlayerAdapter;
import com.viontv.app.ui.view.VTGoogleExoPlayerView;
import com.viontv.app.utils.SharePreferenceUtils;
import com.viontv.app.utils.SingleClickUtils;
import com.viontv.app.utils.TimeUtils;
import com.viontv.app.utils.ToastUtils;
import com.viontv.app.utils.TranslatesUtils;
import com.viontv.app.utils.VTAppConstants;
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 org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;

View File

@ -1,15 +1,14 @@
package com.viontv.app.ui.activity.play;
package com.jelly.zyreotv.app.ui.activity.play;
import android.util.Log;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.viontv.app.api.VTApi;
import com.viontv.app.api.VTBaseObserver;
import com.viontv.app.api.VTResult;
import com.viontv.app.model.VTBaseData;
import com.viontv.app.model.VTVideoDetailsBean;
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 io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.activity.search;
package com.jelly.zyreotv.app.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.viontv.app.databinding.ActivitySearchVtBinding;
import com.viontv.app.databinding.ItemSearchDataVtBinding;
import com.viontv.app.databinding.ItemSearchHotVtBinding;
import com.viontv.app.ui.activity.basic.VTCommonActivity;
import com.viontv.app.ui.adapter.VTSearchDataAdapter;
import com.viontv.app.ui.adapter.VTSearchHistoryAdapter;
import com.viontv.app.ui.adapter.VTSearchHotListAdapter;
import com.viontv.app.utils.IntentUtils;
import com.viontv.app.utils.SharePreferenceUtils;
import com.viontv.app.utils.VTAppConstants;
import com.viontv.app.utils.VTGsonUtils;
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 java.util.ArrayList;

View File

@ -1,14 +1,14 @@
package com.viontv.app.ui.activity.search;
package com.jelly.zyreotv.app.ui.activity.search;
import android.util.Log;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.viontv.app.api.VTApi;
import com.viontv.app.api.VTBaseObserver;
import com.viontv.app.api.VTResult;
import com.viontv.app.model.VTVideoListBean;
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 io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;

View File

@ -1,9 +1,8 @@
package com.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.ui.adapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import androidx.appcompat.widget.AppCompatImageView;
@ -11,10 +10,8 @@ import androidx.appcompat.widget.AppCompatTextView;
import androidx.recyclerview.widget.RecyclerView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.resource.bitmap.RoundedCorners;
import com.bumptech.glide.request.RequestOptions;
import com.viontv.app.R;
import com.viontv.app.model.ItemBean;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.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.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.ui.adapter;
import android.annotation.SuppressLint;
import android.content.Context;

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.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.viontv.app.R;
import com.viontv.app.model.VTVideoDetailsBean;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.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.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.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.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.ui.adapter;
import android.content.Context;
import android.view.ViewGroup;
@ -14,10 +14,9 @@ import androidx.media3.ui.PlayerView;
import com.chad.library.adapter4.BaseQuickAdapter;
import com.chad.library.adapter4.viewholder.QuickViewHolder;
import com.viontv.app.R;
import com.viontv.app.databinding.ItemGoogleExoPlayerVtBinding;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.ui.view.VTGoogleExoPlayerView;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.model.VTVideoDetailsBean;
import com.jelly.zyreotv.app.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.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.ui.adapter;
import android.content.Context;
import android.view.ViewGroup;
@ -14,12 +14,9 @@ import androidx.media3.ui.PlayerView;
import com.chad.library.adapter4.BaseQuickAdapter;
import com.chad.library.adapter4.viewholder.QuickViewHolder;
import com.viontv.app.R;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.model.VTVideoExploreBean;
import com.viontv.app.model.VTVideoExploreListBean;
import com.viontv.app.ui.view.VTGoogleExoPlayerView;
import com.viontv.app.ui.view.VTHomeGoogleExoPlayerView;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.model.VTVideoExploreBean;
import com.jelly.zyreotv.app.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.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.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.viontv.app.R;
import com.viontv.app.databinding.ItemHomeExploreVtBinding;
import com.viontv.app.model.ItemBean;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemHomeExploreVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
/**
* Home Hotbottom Home Top10

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.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.ui.adapter;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
@ -12,10 +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.viontv.app.R;
import com.viontv.app.databinding.ItemHotSquareVtBinding;
import com.viontv.app.databinding.ItemMylistFollowlistVtBinding;
import com.viontv.app.model.ItemBean;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemMylistFollowlistVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
public class VTMyListFollowAdapter

View File

@ -2,23 +2,17 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.viontv.app.ui.adapter;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
package com.jelly.zyreotv.app.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.viontv.app.R;
import com.viontv.app.databinding.ItemMylistFollowlistVtBinding;
import com.viontv.app.databinding.ItemMylistPlaylistVtBinding;
import com.viontv.app.model.ItemBean;
import com.viontv.app.utils.TimeUtils;
import java.text.DecimalFormat;
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;
public class VTMyListPlayAdapter

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.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.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.viontv.app.R;
import com.viontv.app.databinding.ItemHotSquareVtBinding;
import com.viontv.app.model.ItemBean;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemHotSquareVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
public class VTNineSquareAdapter

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.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.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.viontv.app.databinding.ItemSearchDataVtBinding;
import com.viontv.app.model.ItemBean;
import com.jelly.zyreotv.app.databinding.ItemSearchDataVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
public class VTSearchDataAdapter

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.ui.adapter;
import com.chad.library.adapter4.BaseQuickAdapter;
@ -6,7 +6,7 @@ import android.content.Context;
import android.view.ViewGroup;
import com.chad.library.adapter4.viewholder.QuickViewHolder;
import com.viontv.app.R;
import com.jelly.zyreotv.app.R;
public class VTSearchHistoryAdapter extends BaseQuickAdapter<String, 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.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.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.viontv.app.R;
import com.viontv.app.databinding.ItemSearchHotVtBinding;
import com.viontv.app.model.ItemBean;
import com.viontv.app.utils.TimeUtils;
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;
public class VTSearchHotListAdapter

View File

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

View File

@ -2,18 +2,16 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.ui.adapter;
import android.content.Context;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.viontv.app.R;
import com.viontv.app.databinding.ItemHomeTablistVtBinding;
import com.viontv.app.model.ItemBean;
import com.jelly.zyreotv.app.R;
import com.jelly.zyreotv.app.databinding.ItemHomeTablistVtBinding;
import com.jelly.zyreotv.app.model.ItemBean;
public class VTTabItemListAdapter

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.viontv.app.ui.adapter;
package com.jelly.zyreotv.app.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.viontv.app.R;
import com.viontv.app.databinding.ItemHomeExploreVtBinding;
import com.viontv.app.model.ItemBean;
import com.viontv.app.utils.TimeUtils;
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

View File

@ -2,19 +2,17 @@
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
package com.viontv.app.ui.adapter;
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.viontv.app.R;
import com.viontv.app.databinding.ItemHomeExploreVtBinding;
import com.viontv.app.databinding.ItemVideoHistoryBinding;
import com.viontv.app.model.ItemBean;
import com.viontv.app.utils.TimeUtils;
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;
public class VTUserVideoHistoryAdapter

View File

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

View File

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

View File

@ -1,10 +1,9 @@
package com.viontv.app.ui.view;
package com.jelly.zyreotv.app.ui.view;
import android.content.Context;
import android.net.Uri;
import android.os.Handler;
import android.util.AttributeSet;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;
@ -21,13 +20,13 @@ import androidx.media3.common.Player;
import androidx.media3.exoplayer.ExoPlayer;
import com.bumptech.glide.Glide;
import com.viontv.app.R;
import com.viontv.app.databinding.LayoutVideoplayVtBinding;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.utils.TimeUtils;
import com.viontv.app.utils.ToastUtils;
import com.viontv.app.utils.TranslatesUtils;
import com.viontv.app.utils.VTAppConstants;
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 org.greenrobot.eventbus.EventBus;
@ -36,7 +35,6 @@ import java.util.TimerTask;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
public class VTGoogleExoPlayerView extends FrameLayout {
private ExoPlayer player;

View File

@ -1,4 +1,4 @@
package com.viontv.app.ui.view;
package com.jelly.zyreotv.app.ui.view;
import android.content.Context;
import android.net.Uri;
@ -7,7 +7,6 @@ import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.SeekBar;
import androidx.appcompat.widget.AppCompatImageView;
@ -21,16 +20,14 @@ import androidx.media3.common.Player;
import androidx.media3.exoplayer.ExoPlayer;
import com.bumptech.glide.Glide;
import com.viontv.app.R;
import com.viontv.app.VTApplication;
import com.viontv.app.databinding.LayoutVideoplayHomeVtBinding;
import com.viontv.app.databinding.LayoutVideoplayVtBinding;
import com.viontv.app.model.VTVideoDetailsBean;
import com.viontv.app.model.VTVideoExploreBean;
import com.viontv.app.utils.TimeUtils;
import com.viontv.app.utils.ToastUtils;
import com.viontv.app.utils.TranslatesUtils;
import com.viontv.app.utils.VTAppConstants;
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 org.greenrobot.eventbus.EventBus;

View File

@ -1,14 +1,9 @@
package com.viontv.app.utils;
package com.jelly.zyreotv.app.utils;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Build;
import android.provider.Settings;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* 设备ID
*/

View File

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

View File

@ -1,13 +1,11 @@
package com.viontv.app.utils;
package com.jelly.zyreotv.app.utils;
import static com.viontv.app.VTApplication.AppContext;
import static com.jelly.zyreotv.app.VTApplication.AppContext;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import com.viontv.app.VTApplication;
public class SharePreferenceUtils {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,10 +1,9 @@
package com.viontv.app.utils;
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.content.res.TypedArray;
import android.util.TypedValue;
import android.os.Build;
import android.view.View;

View File

@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".ui.activity.VTMainActivity">
tools:context="com.jelly.zyreotv.app.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=".ui.activity.home.VTHomeFragment">
tools:context="com.jelly.zyreotv.app.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.viontv.app.ui.view.VTBezierCircleHeader-->
<!-- <com.jelly.zyreotv.app.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=".ui.activity.home.VTHomeFragment">
tools:context="com.jelly.zyreotv.app.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=".ui.activity.home.VTHomeFragment">
tools:context="com.jelly.zyreotv.app.ui.activity.home.VTHomeFragment">
<FrameLayout
android:id="@+id/layout_head"

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<com.viontv.app.ui.view.VTGoogleExoPlayerView xmlns:android="http://schemas.android.com/apk/res/android"
<com.jelly.zyreotv.app.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.viontv.app.ui.view.VTGoogleExoPlayerView >
</com.jelly.zyreotv.app.ui.view.VTGoogleExoPlayerView>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<com.viontv.app.ui.view.VTHomeGoogleExoPlayerView xmlns:android="http://schemas.android.com/apk/res/android"
<com.jelly.zyreotv.app.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.viontv.app.ui.view.VTHomeGoogleExoPlayerView >
</com.jelly.zyreotv.app.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.viontv.app.ui.view.ProgressLineView
<com.jelly.zyreotv.app.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.viontv.app.ui.view.ProgressLineView
<com.jelly.zyreotv.app.ui.view.ProgressLineView
android:id="@+id/load_line"
android:layout_width="match_parent"
android:layout_height="2dp"

View File

@ -33,5 +33,5 @@ dependencyResolutionManagement {
}
}
rootProject.name = "VionTV"
rootProject.name = "ZyreoTV"
include ':app'