CCIPTV PRO v3.0.9.1版本的 MD5 值为:e78d4d980447be4a9f823314f45bbf03

以下内容为反编译后的 ViewDetailsTMDBActivity.java 源代码,内容仅作参考


package boxbr.apksrebrand.smarters.view.activity;

import android.animation.ObjectAnimator;
import android.annotation.SuppressLint;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.PopupWindow;
import android.widget.RatingBar;
import android.widget.RelativeLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import androidx.appcompat.widget.ActionMenuView;
import androidx.appcompat.widget.Toolbar;
import androidx.core.widget.NestedScrollView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import boxbr.apksrebrand.smarters.miscelleneious.chromecastfeature.ExpandedControlsActivity;
import boxbr.apksrebrand.smarters.model.callback.SearchTMDBMoviesCallback;
import boxbr.apksrebrand.smarters.model.callback.TMDBCastsCallback;
import boxbr.apksrebrand.smarters.model.callback.TMDBGenreCallback;
import boxbr.apksrebrand.smarters.model.callback.TMDBPersonInfoCallback;
import boxbr.apksrebrand.smarters.model.callback.TMDBTrailerCallback;
import boxbr.apksrebrand.smarters.model.pojo.ExternalPlayerModelClass;
import boxbr.apksrebrand.smarters.model.pojo.TMDBCastsPojo;
import boxbr.apksrebrand.smarters.model.pojo.TMDBCrewPojo;
import boxbr.apksrebrand.smarters.view.adapter.CastAdapter;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.android.material.appbar.AppBarLayout;
import com.iptvsmarters.cciptv.R;
import d.a.k.b;
import d.a.p.g0;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import java.util.concurrent.TimeUnit;
import me.zhanghai.android.materialprogressbar.SingleCircularProgressDrawable;
import org.joda.time.DateTimeConstants;
import org.joda.time.chrono.BasicChronology;
import tv.danmaku.ijk.media.player.IjkMediaPlayer;
public class ViewDetailsTMDBActivity extends d.a.k.c implements View.OnClickListener, f.j.a.k.f.i {
    public static String X;
    public static String Y;
    public Button A;
    public ProgressDialog C;
    public SharedPreferences D;
    public SharedPreferences E;
    public f.j.a.i.p.e F;
    public PopupWindow O;
    public f.j.a.j.e R;
    public CastAdapter U;
    public f.f.a.d.d.u.d W;
    @BindView
    public AppBarLayout appbarToolbar;
    @BindView
    public ImageView ivFavourite;
    @BindView
    public ImageView ivMovieImage;
    @BindView
    public ImageView iv_back_button;
    @BindView
    public LinearLayout llCastBox;
    @BindView
    public LinearLayout llCastBoxInfo;
    @BindView
    public LinearLayout llDirectorBox;
    @BindView
    public LinearLayout llDirectorBoxInfo;
    @BindView
    public LinearLayout llDurationBox;
    @BindView
    public LinearLayout llDurationBoxInfo;
    @BindView
    public LinearLayout llGenreBox;
    @BindView
    public LinearLayout llGenreBoxInfo;
    @BindView
    public LinearLayout llMovieInfoBox;
    @BindView
    public LinearLayout llReleasedBox;
    @BindView
    public LinearLayout llReleasedBoxInfo;
    @BindView
    public LinearLayout ll_play_button_main_layout;
    @BindView
    public LinearLayout ll_watch_trailer;
    @BindView
    public LinearLayout ll_watch_trailer_button_main_layout;
    @BindView
    public ImageView logo;
    @BindView
    public NestedScrollView nestedScrollView;
    public String r;
    @BindView
    public RatingBar ratingBar;
    @BindView
    public RelativeLayout rlAccountInfo;
    @BindView
    public RelativeLayout rlTransparent;
    @BindView
    public RecyclerView rvCast;
    public String s;
    @BindView
    public ScrollView scrollView;
    public SimpleDateFormat t;
    @BindView
    public Toolbar toolbar;
    @BindView
    public TextView tvCast;
    @BindView
    public TextView tvCastInfo;
    @BindView
    public TextView tvDirector;
    @BindView
    public TextView tvDirectorInfo;
    @BindView
    public TextView tvMovieDuration;
    @BindView
    public TextView tvMovieDurationInfo;
    @BindView
    public TextView tvMovieGenere;
    @BindView
    public TextView tvMovieInfo;
    @BindView
    public TextView tvMovieName;
    @BindView
    public TextView tvPlay;
    @BindView
    public TextView tvReadMore;
    @BindView
    public TextView tvReleaseDate;
    @BindView
    public TextView tvReleaseDateInfo;
    @BindView
    public TextView tvWatchTrailer;
    @BindView
    public TextView tv_genre_info;
    public Date u;
    public Button v;
    public String w;
    public DateFormat x;
    public TextView y;
    public Menu z;
    public Context B = this;
    public String G = "";
    public String H = "";
    public String I = "";
    public String J = "";
    public String K = "";
    public String L = "";
    public int M = -1;
    public String N = "";
    public String P = "";
    public Boolean Q = Boolean.TRUE;
    public String S = "mobile";
    public String T = "";
    public String V = "";

    public class a implements DialogInterface.OnClickListener {
        public a(ViewDetailsTMDBActivity viewDetailsTMDBActivity) {
        }

        @Override
        public void onClick(DialogInterface dialogInterface, int i2) {
            dialogInterface.cancel();
        }
    }

    public class b implements DialogInterface.OnClickListener {
        public b(ViewDetailsTMDBActivity viewDetailsTMDBActivity) {
        }

        @Override
        public void onClick(DialogInterface dialogInterface, int i2) {
        }
    }

    public class c implements DialogInterface.OnClickListener {
        public c(ViewDetailsTMDBActivity viewDetailsTMDBActivity) {
        }

        @Override
        public void onClick(DialogInterface dialogInterface, int i2) {
            dialogInterface.cancel();
        }
    }

    public class d extends f.c.a.r.h.g<Bitmap> {
        public d() {
        }

        @Override
        public void b(Bitmap bitmap, f.c.a.r.g.c cVar) {
            ViewDetailsTMDBActivity.this.appbarToolbar.setBackground(new BitmapDrawable(bitmap));
            ViewDetailsTMDBActivity viewDetailsTMDBActivity = ViewDetailsTMDBActivity.this;
            viewDetailsTMDBActivity.rlTransparent.setBackgroundColor(viewDetailsTMDBActivity.getResources().getColor(R.color.trasparent_black));
            ViewDetailsTMDBActivity viewDetailsTMDBActivity2 = ViewDetailsTMDBActivity.this;
            viewDetailsTMDBActivity2.toolbar.setBackgroundColor(viewDetailsTMDBActivity2.getResources().getColor(R.color.trasparent_black));
        }
    }

    public class e extends f.c.a.r.h.g<Bitmap> {
        public e() {
        }

        @Override
        public void b(Bitmap bitmap, f.c.a.r.g.c cVar) {
            ViewDetailsTMDBActivity.this.appbarToolbar.setBackground(new BitmapDrawable(bitmap));
            ViewDetailsTMDBActivity viewDetailsTMDBActivity = ViewDetailsTMDBActivity.this;
            viewDetailsTMDBActivity.rlTransparent.setBackgroundColor(viewDetailsTMDBActivity.getResources().getColor(R.color.trasparent_black));
            ViewDetailsTMDBActivity viewDetailsTMDBActivity2 = ViewDetailsTMDBActivity.this;
            viewDetailsTMDBActivity2.toolbar.setBackgroundColor(viewDetailsTMDBActivity2.getResources().getColor(R.color.trasparent_black));
        }
    }

    public class f implements g0.d {
        public final ArrayList a;
        public final String b;

        public f(ArrayList arrayList, String str) {
            this.a = arrayList;
            this.b = str;
        }

        @Override
        public boolean onMenuItemClick(MenuItem menuItem) {
            try {
                if (ViewDetailsTMDBActivity.this.Q.booleanValue() && this.a != null && this.a.size() > 0) {
                    for (int i2 = 0; i2 < this.a.size(); i2++) {
                        if (menuItem.getItemId() == i2) {
                            if (menuItem.getItemId() == 0) {
                                f.j.a.h.i.e.V(ViewDetailsTMDBActivity.this.B, this.b, ViewDetailsTMDBActivity.this.M, ViewDetailsTMDBActivity.this.I, ViewDetailsTMDBActivity.this.J, ViewDetailsTMDBActivity.this.K, ViewDetailsTMDBActivity.this.G, ViewDetailsTMDBActivity.this.L, 0);
                            } else {
                                Intent intent = new Intent(ViewDetailsTMDBActivity.this.B, PlayExternalPlayerActivity.class);
                                intent.putExtra(IjkMediaPlayer.OnNativeInvokeListener.ARG_URL, ViewDetailsTMDBActivity.this.L);
                                intent.putExtra("app_name", ((ExternalPlayerModelClass) this.a.get(i2)).a());
                                intent.putExtra("packagename", ((ExternalPlayerModelClass) this.a.get(i2)).b());
                                ViewDetailsTMDBActivity.this.B.startActivity(intent);
                            }
                        }
                    }
                }
            } catch (Exception unused) {
            }
            return false;
        }
    }

    public class g implements g0.c {
        public g(ViewDetailsTMDBActivity viewDetailsTMDBActivity) {
        }

        @Override
        public void a(g0 g0Var) {
        }
    }

    public class h implements View.OnClickListener {
        public h() {
        }

        @Override
        public void onClick(View view) {
            ViewDetailsTMDBActivity.this.O.dismiss();
        }
    }

    public class i implements View.OnClickListener {
        public i() {
        }

        @Override
        public void onClick(View view) {
            ViewDetailsTMDBActivity.this.O.dismiss();
        }
    }

    public class j implements View.OnClickListener {
        public j() {
        }

        @Override
        public void onClick(View view) {
            ViewDetailsTMDBActivity.this.O.dismiss();
        }
    }

    public class k implements View.OnClickListener {
        public k() {
        }

        @Override
        public void onClick(View view) {
            f.j.a.h.i.e.a(ViewDetailsTMDBActivity.this.B);
        }
    }

    public class l implements View.OnClickListener {
        public l() {
        }

        @Override
        public void onClick(View view) {
            ViewDetailsTMDBActivity.this.onBackPressed();
        }
    }

    public class m implements View.OnClickListener {
        public final Context b;

        public m(Context context) {
            this.b = context;
        }

        @Override
        public void onClick(View view) {
            if (ViewDetailsTMDBActivity.this.F.m0(ViewDetailsTMDBActivity.this.L, f.j.a.i.p.l.z(this.b)).size() > 0) {
                ViewDetailsTMDBActivity.this.g1();
            } else {
                ViewDetailsTMDBActivity.this.Z0();
            }
        }
    }

    public class n extends f.c.a.r.h.g<Bitmap> {
        public n() {
        }

        @Override
        public void b(Bitmap bitmap, f.c.a.r.g.c cVar) {
            ViewDetailsTMDBActivity.this.ivMovieImage.setBackground(new BitmapDrawable(bitmap));
        }
    }

    public class o implements DialogInterface.OnClickListener {
        public o(ViewDetailsTMDBActivity viewDetailsTMDBActivity) {
        }

        @Override
        public void onClick(DialogInterface dialogInterface, int i2) {
            dialogInterface.dismiss();
        }
    }

    public class p implements DialogInterface.OnClickListener {
        public p() {
        }

        @Override
        public void onClick(DialogInterface dialogInterface, int i2) {
            f.j.a.h.i.e.N(ViewDetailsTMDBActivity.this.B);
        }
    }

    public class q implements DialogInterface.OnClickListener {
        public q() {
        }

        @Override
        public void onClick(DialogInterface dialogInterface, int i2) {
            f.j.a.h.i.e.M(ViewDetailsTMDBActivity.this.B);
        }
    }

    public class r implements View.OnFocusChangeListener {
        public final View b;

        public r(View view) {
            this.b = view;
        }

        public final void a(float f2) {
            ObjectAnimator ofFloat = ObjectAnimator.ofFloat(this.b, "scaleX", f2);
            ofFloat.setDuration(150L);
            ofFloat.start();
        }

        public final void b(float f2) {
            ObjectAnimator ofFloat = ObjectAnimator.ofFloat(this.b, "scaleY", f2);
            ofFloat.setDuration(150L);
            ofFloat.start();
        }

        @Override
        @SuppressLint({"ResourceType"})
        public void onFocusChange(View view, boolean z) {
            float f2;
            int i2;
            LinearLayout linearLayout;
            if (z) {
                f2 = z ? 1.05f : 1.0f;
                Log.e("id is", "" + this.b.getTag());
                View view2 = this.b;
                if (view2 == null || view2.getTag() == null) {
                    return;
                }
                boolean equals = this.b.getTag().equals("1");
                i2 = R.drawable.blue_btn_effect;
                if (equals) {
                    a(f2);
                    b(f2);
                    linearLayout = ViewDetailsTMDBActivity.this.ll_play_button_main_layout;
                } else if (this.b.getTag().equals("2")) {
                    a(f2);
                    b(f2);
                    this.b.setBackgroundResource(R.drawable.blue_btn_effect);
                    return;
                } else if (!this.b.getTag().equals("5")) {
                    if (!this.b.getTag().equals("8")) {
                        a(1.15f);
                        b(1.15f);
                        return;
                    }
                    a(f2);
                    b(f2);
                    ViewDetailsTMDBActivity.this.A.setBackgroundResource(R.drawable.back_btn_effect);
                    return;
                } else {
                    a(f2);
                    b(f2);
                    linearLayout = ViewDetailsTMDBActivity.this.ll_watch_trailer_button_main_layout;
                }
            } else if (z) {
                return;
            } else {
                f2 = z ? 1.09f : 1.0f;
                a(f2);
                b(f2);
                View view3 = this.b;
                if (view3 == null || view3.getTag() == null) {
                    return;
                }
                boolean equals2 = this.b.getTag().equals("1");
                i2 = R.drawable.rounded_edge_2;
                if (!equals2) {
                    if (this.b.getTag().equals("3")) {
                        this.b.setBackgroundResource(R.drawable.black_button_dark);
                        return;
                    }
                    if (!this.b.getTag().equals("5")) {
                        if (this.b.getTag() == null || !this.b.getTag().equals("8")) {
                            return;
                        }
                        ViewDetailsTMDBActivity.this.A.setBackgroundResource(R.drawable.black_button_dark);
                        return;
                    }
                    linearLayout = ViewDetailsTMDBActivity.this.ll_watch_trailer_button_main_layout;
                }
                linearLayout = ViewDetailsTMDBActivity.this.ll_play_button_main_layout;
            }
            linearLayout.setBackgroundResource(i2);
        }
    }

    public static long b1(SimpleDateFormat simpleDateFormat, String str, String str2) {
        try {
            return TimeUnit.DAYS.convert(simpleDateFormat.parse(str2).getTime() - simpleDateFormat.parse(str).getTime(), TimeUnit.MILLISECONDS);
        } catch (Exception e2) {
            e2.printStackTrace();
            return 0L;
        }
    }

    public static String c1(Context context) {
        return String.valueOf(context.getApplicationInfo().loadLabel(context.getPackageManager()));
    }

    @Override
    public void J(TMDBCastsCallback tMDBCastsCallback) {
        TextView textView;
        TextView textView2;
        String str = "";
        if (tMDBCastsCallback == null || tMDBCastsCallback.a() == null || tMDBCastsCallback.a().size() <= 0) {
            LinearLayout linearLayout = this.llCastBox;
            if (linearLayout != null) {
                linearLayout.setVisibility(0);
            }
            LinearLayout linearLayout2 = this.llCastBoxInfo;
            if (linearLayout2 != null) {
                linearLayout2.setVisibility(0);
            }
            TextView textView3 = this.tvReadMore;
            if (textView3 != null) {
                textView3.setVisibility(8);
            }
            textView = this.tvCastInfo;
        } else {
            List<TMDBCastsPojo> a2 = tMDBCastsCallback.a();
            if (a2 != null) {
                String str2 = "";
                for (int i2 = 0; i2 < a2.size(); i2++) {
                    str2 = str2 + a2.get(i2).b() + " / ";
                }
                String substring = str2.substring(0, str2.lastIndexOf(47));
                this.w = substring;
                if (this.llCastBox == null || this.llCastBoxInfo == null || this.tvCastInfo == null || substring.isEmpty()) {
                    LinearLayout linearLayout3 = this.llCastBox;
                    if (linearLayout3 != null) {
                        linearLayout3.setVisibility(0);
                    }
                    LinearLayout linearLayout4 = this.llCastBoxInfo;
                    if (linearLayout4 != null) {
                        linearLayout4.setVisibility(0);
                    }
                    TextView textView4 = this.tvReadMore;
                    if (textView4 != null) {
                        textView4.setVisibility(8);
                    }
                    textView = this.tvCastInfo;
                } else {
                    this.llCastBox.setVisibility(0);
                    this.llCastBoxInfo.setVisibility(0);
                    if (substring.length() > 150) {
                        this.tvCastInfo.setText(substring);
                        this.tvReadMore.setVisibility(0);
                    } else {
                        this.tvCastInfo.setText(substring);
                        this.tvReadMore.setVisibility(8);
                    }
                }
            } else {
                LinearLayout linearLayout5 = this.llCastBox;
                if (linearLayout5 != null) {
                    linearLayout5.setVisibility(0);
                }
                LinearLayout linearLayout6 = this.llCastBoxInfo;
                if (linearLayout6 != null) {
                    linearLayout6.setVisibility(0);
                }
                TextView textView5 = this.tvReadMore;
                if (textView5 != null) {
                    textView5.setVisibility(8);
                }
                textView = this.tvCastInfo;
            }
        }
        if (tMDBCastsCallback == null || tMDBCastsCallback.b() == null || tMDBCastsCallback.b().size() <= 0) {
            LinearLayout linearLayout7 = this.llDirectorBox;
            if (linearLayout7 != null) {
                linearLayout7.setVisibility(0);
            }
            LinearLayout linearLayout8 = this.llDirectorBoxInfo;
            if (linearLayout8 != null) {
                linearLayout8.setVisibility(0);
            }
            textView2 = this.tvDirectorInfo;
            if (textView2 == null) {
                return;
            }
        } else {
            List<TMDBCrewPojo> b2 = tMDBCastsCallback.b();
            if (b2 != null) {
                int i3 = 0;
                while (true) {
                    if (i3 >= b2.size()) {
                        break;
                    } else if (b2.get(i3).a().equals("Director")) {
                        str = b2.get(i3).b();
                        break;
                    } else {
                        i3++;
                    }
                }
                if (this.tvDirectorInfo != null && this.llDirectorBoxInfo != null && this.llDirectorBox != null && str != null && !str.isEmpty() && !str.equals("n/A")) {
                    this.llDirectorBox.setVisibility(0);
                    this.llDirectorBoxInfo.setVisibility(0);
                    this.tvDirectorInfo.setText(str);
                    return;
                }
                LinearLayout linearLayout9 = this.llDirectorBox;
                if (linearLayout9 != null) {
                    linearLayout9.setVisibility(0);
                }
                LinearLayout linearLayout10 = this.llDirectorBoxInfo;
                if (linearLayout10 != null) {
                    linearLayout10.setVisibility(0);
                }
                textView2 = this.tvDirectorInfo;
                if (textView2 == null) {
                    return;
                }
            } else {
                LinearLayout linearLayout11 = this.llDirectorBox;
                if (linearLayout11 != null) {
                    linearLayout11.setVisibility(0);
                }
                LinearLayout linearLayout12 = this.llDirectorBoxInfo;
                if (linearLayout12 != null) {
                    linearLayout12.setVisibility(0);
                }
                textView2 = this.tvDirectorInfo;
                if (textView2 == null) {
                    return;
                }
            }
        }
        textView2.setText("N/A");
    }

    @Override
    public void W(SearchTMDBMoviesCallback searchTMDBMoviesCallback) {
        int i2;
        String str;
        TextView textView;
        TextView textView2;
        String str2;
        boolean z = true;
        if (searchTMDBMoviesCallback == null || searchTMDBMoviesCallback.b() == null || !searchTMDBMoviesCallback.b().equals(1) || searchTMDBMoviesCallback.a() == null || searchTMDBMoviesCallback.a().get(0) == null) {
            if (searchTMDBMoviesCallback != null && searchTMDBMoviesCallback.b() != null && searchTMDBMoviesCallback.b().intValue() > 1 && searchTMDBMoviesCallback.a() != null) {
                String trim = (!this.T.equals("") ? this.T : this.G).trim();
                i2 = 0;
                while (i2 < searchTMDBMoviesCallback.a().size()) {
                    if (searchTMDBMoviesCallback.a().get(i2).f().equals(trim) || searchTMDBMoviesCallback.a().get(i2).c().equals(trim)) {
                        break;
                    }
                    i2++;
                }
            }
            z = false;
            i2 = 0;
            if (z) {
                try {
                    int intValue = searchTMDBMoviesCallback.a().get(i2).b().intValue();
                    this.R.b(intValue);
                    this.R.d(intValue);
                    this.R.g(intValue);
                    this.R.c(intValue);
                    String e2 = searchTMDBMoviesCallback.a().get(i2).e();
                    Double g2 = searchTMDBMoviesCallback.a().get(i2).g();
                    String d2 = searchTMDBMoviesCallback.a().get(i2).d();
                    String a2 = searchTMDBMoviesCallback.a().get(i2).a();
                    if (new f.j.a.k.d.a.a(this.B).w().equals(f.j.a.h.i.a.i0)) {
                        str = "https://image.tmdb.org/t/p/w1280/" + a2;
                    } else {
                        str = "https://image.tmdb.org/t/p/w500/" + a2;
                    }
                    if (this.appbarToolbar != null && a2 != null) {
                        this.V = str;
                        f.c.a.g.u(getApplicationContext()).q(str).O().l(new e());
                    }
                    if (this.llReleasedBox == null || this.llReleasedBoxInfo == null || this.tvReleaseDateInfo == null || e2 == null || e2.isEmpty() || e2.equals("n/A")) {
                        if (this.llReleasedBox != null) {
                            this.llReleasedBox.setVisibility(0);
                        }
                        if (this.llReleasedBoxInfo != null) {
                            this.llReleasedBoxInfo.setVisibility(0);
                        }
                        if (this.tvReleaseDateInfo != null) {
                            this.tvReleaseDateInfo.setText("N/A");
                        }
                    } else {
                        this.llReleasedBox.setVisibility(0);
                        this.llReleasedBoxInfo.setVisibility(0);
                        this.tvReleaseDateInfo.setText(e2);
                    }
                    if (this.ratingBar != null && g2 != null && !g2.equals("n/A")) {
                        this.ratingBar.setVisibility(0);
                        try {
                            this.ratingBar.setRating(Float.parseFloat(String.valueOf(g2)) / 2.0f);
                        } catch (NumberFormatException unused) {
                            this.ratingBar.setRating(SingleCircularProgressDrawable.START_ANGLE_MAX_NORMAL);
                        }
                    }
                    if (this.tvMovieInfo != null && d2 != null && !d2.isEmpty() && !d2.equals("n/A")) {
                        this.tvMovieInfo.setText(d2);
                        return;
                    } else if (this.tvMovieInfo != null) {
                        this.tvMovieInfo.setVisibility(8);
                        return;
                    } else {
                        return;
                    }
                } catch (Exception unused2) {
                    return;
                }
            }
            String str3 = this.G;
            if (str3 != null && (textView2 = this.tvMovieName) != null) {
                textView2.setText(str3);
            }
            LinearLayout linearLayout = this.llDurationBox;
            if (linearLayout != null) {
                linearLayout.setVisibility(0);
            }
            LinearLayout linearLayout2 = this.llDurationBoxInfo;
            if (linearLayout2 != null) {
                linearLayout2.setVisibility(0);
            }
            TextView textView3 = this.tvMovieDurationInfo;
            if (textView3 != null) {
                textView3.setText("N/A");
            }
            TextView textView4 = this.tvCastInfo;
            if (textView4 != null) {
                textView4.setText("N/A");
            }
            TextView textView5 = this.tvDirectorInfo;
            if (textView5 != null) {
                textView5.setText("N/A");
            }
            TextView textView6 = this.tvReleaseDateInfo;
            if (textView6 != null) {
                textView6.setText("N/A");
            }
            TextView textView7 = this.tv_genre_info;
            if (textView7 != null) {
                textView7.setText("N/A");
            }
            textView = this.tvReadMore;
            if (textView == null) {
                return;
            }
        } else {
            int intValue2 = searchTMDBMoviesCallback.a().get(0).b().intValue();
            this.R.b(intValue2);
            this.R.d(intValue2);
            this.R.g(intValue2);
            this.R.c(intValue2);
            String e3 = searchTMDBMoviesCallback.a().get(0).e();
            Double g3 = searchTMDBMoviesCallback.a().get(0).g();
            String d3 = searchTMDBMoviesCallback.a().get(0).d();
            String a3 = searchTMDBMoviesCallback.a().get(0).a();
            if (new f.j.a.k.d.a.a(this.B).w().equals(f.j.a.h.i.a.i0)) {
                str2 = "https://image.tmdb.org/t/p/w1280/" + a3;
            } else {
                str2 = "https://image.tmdb.org/t/p/w500/" + a3;
            }
            if (this.appbarToolbar != null && a3 != null) {
                this.V = str2;
                f.c.a.g.u(getApplicationContext()).q(str2).O().l(new d());
            }
            if (this.llReleasedBox == null || this.llReleasedBoxInfo == null || this.tvReleaseDateInfo == null || e3 == null || e3.isEmpty() || e3.equals("n/A")) {
                LinearLayout linearLayout3 = this.llReleasedBox;
                if (linearLayout3 != null) {
                    linearLayout3.setVisibility(0);
                }
                LinearLayout linearLayout4 = this.llReleasedBoxInfo;
                if (linearLayout4 != null) {
                    linearLayout4.setVisibility(0);
                }
                TextView textView8 = this.tvReleaseDateInfo;
                if (textView8 != null) {
                    textView8.setText("N/A");
                }
            } else {
                this.llReleasedBox.setVisibility(0);
                this.llReleasedBoxInfo.setVisibility(0);
                this.tvReleaseDateInfo.setText(e3);
            }
            if (this.ratingBar != null && g3 != null && !g3.equals("n/A")) {
                this.ratingBar.setVisibility(0);
                try {
                    this.ratingBar.setRating(Float.parseFloat(String.valueOf(g3)) / 2.0f);
                } catch (NumberFormatException unused3) {
                    this.ratingBar.setRating(SingleCircularProgressDrawable.START_ANGLE_MAX_NORMAL);
                }
            }
            if (this.tvMovieInfo != null && d3 != null && !d3.isEmpty() && !d3.equals("n/A")) {
                this.tvMovieInfo.setText(d3);
                return;
            }
            textView = this.tvMovieInfo;
            if (textView == null) {
                return;
            }
        }
        textView.setVisibility(8);
    }

    public final void Z0() {
        f.j.a.i.c cVar = new f.j.a.i.c();
        cVar.h(this.L);
        cVar.i(f.j.a.i.p.l.z(this.B));
        cVar.g(this.G);
        cVar.e(this.N);
        this.F.l0(cVar);
        if (Build.VERSION.SDK_INT <= 21) {
            this.ivFavourite.setImageResource(R.drawable.fav_heart_red);
        }
        if (Build.VERSION.SDK_INT >= 21) {
            this.ivFavourite.setImageDrawable(this.B.getResources().getDrawable(R.drawable.fav_heart_red, null));
        }
    }

    @Override
    public void a() {
    }

    public final void a1() {
        Window window = getWindow();
        if (Build.VERSION.SDK_INT >= 19) {
            window.clearFlags(67108864);
        }
        if (Build.VERSION.SDK_INT >= 21) {
            window.addFlags(Integer.MIN_VALUE);
        }
        if (Build.VERSION.SDK_INT >= 21) {
            window.setStatusBarColor(d.h.i.b.d(this, R.color.colorPrimaryDark));
        }
    }

    @Override
    public void b() {
        ProgressDialog progressDialog = this.C;
        if (progressDialog != null) {
            progressDialog.dismiss();
        }
    }

    @SuppressLint({"InlinedApi"})
    public void d1() {
        getWindow().getDecorView().setSystemUiVisibility(5894);
    }

    @Override
    public boolean dispatchKeyEvent(KeyEvent keyEvent) {
        int keyCode = keyEvent.getKeyCode();
        return keyCode == 82 ? keyEvent.getAction() == 0 ? onKeyDown(keyCode, keyEvent) : onKeyUp(keyCode, keyEvent) : super.dispatchKeyEvent(keyEvent);
    }

    @Override
    public void e(String str) {
    }

    public final void e1() {
        this.F = new f.j.a.i.p.e(this.B);
        new f.j.a.i.p.a(this.B);
        SharedPreferences sharedPreferences = getSharedPreferences("loginPrefs", 0);
        this.D = sharedPreferences;
        String string = sharedPreferences.getString("username", "");
        String string2 = this.D.getString("password", "");
        if (string.isEmpty() || string2.isEmpty()) {
            startActivity(new Intent(this, LoginActivity.class));
            overridePendingTransition(R.anim.fade_out, R.anim.fade_in);
        } else {
            i1(this.B, string, string2);
        }
        this.logo.setOnClickListener(new k());
        this.iv_back_button.setOnClickListener(new l());
    }

    public final void f1(ViewDetailsTMDBActivity viewDetailsTMDBActivity) {
        View inflate = ((LayoutInflater) viewDetailsTMDBActivity.getSystemService("layout_inflater")).inflate(R.layout.layout_movie_trailer, (RelativeLayout) viewDetailsTMDBActivity.findViewById(R.id.rl_password_verification));
        PopupWindow popupWindow = new PopupWindow(viewDetailsTMDBActivity);
        this.O = popupWindow;
        popupWindow.setContentView(inflate);
        this.O.setWidth(-1);
        this.O.setHeight(-1);
        this.O.setFocusable(true);
        this.O.setBackgroundDrawable(new BitmapDrawable());
        this.O.showAtLocation(inflate, 17, 0, 0);
        this.A = (Button) inflate.findViewById(R.id.bt_save_password);
        this.v = (Button) inflate.findViewById(R.id.bt_close);
        Button button = this.A;
        if (button != null) {
            button.setOnFocusChangeListener(new r(button));
        }
        Button button2 = this.v;
        if (button2 != null) {
            button2.setOnFocusChangeListener(new r(button2));
        }
        this.v.setOnClickListener(new h());
        this.A.setOnClickListener(new i());
    }

    public final void g1() {
        this.F.y0(this.L, f.j.a.i.p.l.z(this.B));
        if (Build.VERSION.SDK_INT <= 21) {
            this.ivFavourite.setImageResource(R.drawable.fav_heart_white);
        }
        if (Build.VERSION.SDK_INT >= 21) {
            this.ivFavourite.setImageDrawable(this.B.getResources().getDrawable(R.drawable.fav_heart_white, null));
        }
    }

    @Override
    public void h(TMDBTrailerCallback tMDBTrailerCallback) {
        LinearLayout linearLayout;
        if (tMDBTrailerCallback == null || tMDBTrailerCallback.a() == null || tMDBTrailerCallback.a().size() <= 0) {
            return;
        }
        int i2 = 0;
        for (int i3 = 0; i3 < tMDBTrailerCallback.a().size(); i3++) {
            if (tMDBTrailerCallback.a().get(i3).b().equals("Trailer")) {
                String a2 = tMDBTrailerCallback.a().get(i3).a();
                this.P = a2;
                if (a2 == null || a2.isEmpty()) {
                    TextView textView = this.tvWatchTrailer;
                    i2 = 8;
                    if (textView != null) {
                        textView.setVisibility(8);
                    }
                    linearLayout = this.ll_watch_trailer;
                    if (linearLayout == null) {
                        return;
                    }
                } else {
                    TextView textView2 = this.tvWatchTrailer;
                    if (textView2 != null) {
                        textView2.setVisibility(0);
                    }
                    linearLayout = this.ll_watch_trailer;
                    if (linearLayout == null) {
                        return;
                    }
                }
                linearLayout.setVisibility(i2);
                return;
            }
        }
    }

    public final void h1(ViewDetailsTMDBActivity viewDetailsTMDBActivity) {
        View inflate = ((LayoutInflater) viewDetailsTMDBActivity.getSystemService("layout_inflater")).inflate(R.layout.layout_cast_details, (RelativeLayout) viewDetailsTMDBActivity.findViewById(R.id.rl_password_verification));
        TextView textView = (TextView) inflate.findViewById(R.id.tv_casts_info_popup);
        this.y = textView;
        textView.setText(this.w);
        PopupWindow popupWindow = new PopupWindow(viewDetailsTMDBActivity);
        this.O = popupWindow;
        popupWindow.setContentView(inflate);
        this.O.setWidth(-1);
        this.O.setHeight(-1);
        this.O.setFocusable(true);
        this.O.showAtLocation(inflate, 17, 0, 0);
        Button button = (Button) inflate.findViewById(R.id.bt_close);
        this.v = button;
        if (button != null) {
            button.setOnFocusChangeListener(new r(button));
        }
        this.v.setOnClickListener(new j());
    }

    @Override
    public void i0(TMDBCastsCallback tMDBCastsCallback) {
        if (tMDBCastsCallback != null) {
            try {
                if (tMDBCastsCallback.a() != null && tMDBCastsCallback.a().size() > 0) {
                    this.rvCast.setLayoutManager(new LinearLayoutManager(this, 0, false));
                    this.rvCast.setItemAnimator(new d.w.d.c());
                    CastAdapter castAdapter = new CastAdapter(tMDBCastsCallback.a(), this.B, true, this.V);
                    this.U = castAdapter;
                    this.rvCast.setAdapter(castAdapter);
                    this.rvCast.setVisibility(0);
                }
            } catch (Exception unused) {
                return;
            }
        }
        this.rvCast.setVisibility(8);
    }

    public final void i1(Context context, String str, String str2) {
        int i2;
        String str3;
        String str4;
        String str5;
        TextView textView;
        this.R = new f.j.a.j.e(this, context);
        if (this.S.equals("mobile")) {
            this.nestedScrollView.setVisibility(0);
        } else {
            this.scrollView.setVisibility(0);
        }
        Intent intent = getIntent();
        if (intent != null) {
            try {
                this.M = Integer.parseInt(intent.getStringExtra(f.j.a.h.i.a.s));
            } catch (NumberFormatException unused) {
                this.M = -1;
            }
            this.G = intent.getStringExtra("movie");
            intent.getStringExtra("selectedPlayer");
            this.H = intent.getStringExtra("movie_icon");
            this.I = intent.getStringExtra("streamType");
            this.J = intent.getStringExtra("containerExtension");
            this.N = intent.getStringExtra("categoryID");
            this.K = intent.getStringExtra("num");
            String stringExtra = intent.getStringExtra("videoURL");
            this.L = stringExtra;
            if (this.F.m0(stringExtra, f.j.a.i.p.l.z(context)).size() > 0) {
                int i3 = Build.VERSION.SDK_INT;
                i2 = R.drawable.fav_heart_red;
                if (i3 <= 21) {
                    this.ivFavourite.setImageResource(R.drawable.fav_heart_red);
                }
            } else {
                int i4 = Build.VERSION.SDK_INT;
                i2 = R.drawable.fav_heart_white;
                if (i4 <= 21) {
                    this.ivFavourite.setImageResource(R.drawable.fav_heart_white);
                }
            }
            ImageView imageView = this.ivFavourite;
            if (imageView != null) {
                imageView.setOnFocusChangeListener(new r(imageView));
                this.ivFavourite.setOnClickListener(new m(context));
            }
            if (context != null) {
                try {
                    if (this.H != null && !this.H.isEmpty()) {
                        f.c.a.g.u(getApplicationContext()).q(this.H).O().l(new n());
                    }
                } catch (Exception unused2) {
                }
            }
            String str6 = this.G;
            if (str6 != null && (textView = this.tvMovieName) != null) {
                textView.setText(str6);
            }
            String str7 = this.G;
            if (str7 == null || !str7.contains("(") || (str5 = this.G) == null || !str5.contains(")")) {
                String str8 = this.G;
                if (str8 == null || !str8.contains("[") || (str3 = this.G) == null || !str3.contains("]")) {
                    this.R.e(this.G);
                    return;
                }
                str4 = this.G.split("\\[")[0];
            } else {
                str4 = this.G.split("\\(")[0];
            }
            this.T = str4;
            this.R.e(str4);
        }
    }

    @Override
    public void onBackPressed() {
        super.onBackPressed();
        overridePendingTransition(R.anim.fade_out, R.anim.fade_in);
    }

    @Override
    public void onClick(View view) {
        if (view.getId() != R.id.tv_header_title) {
            return;
        }
        startActivity(new Intent(this, NewDashboardActivity.class));
    }

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        d1();
        setContentView(R.layout.activity_view_details);
        ButterKnife.a(this);
        overridePendingTransition(R.anim.fade_out, R.anim.fade_in);
        AppBarLayout appBarLayout = this.appbarToolbar;
        if (appBarLayout != null) {
            appBarLayout.setBackground(getResources().getDrawable(R.drawable.dashboard_background));
        }
        this.S = new f.j.a.k.d.a.a(this.B).w().equals(f.j.a.h.i.a.i0) ? "tv" : "mobile";
        a1();
        this.u = new Date();
        TextView textView = this.tvPlay;
        if (textView != null) {
            textView.setOnFocusChangeListener(new r(textView));
            this.tvPlay.requestFocus();
            this.tvPlay.setFocusable(true);
        }
        X = c1(this.B);
        this.x = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.US);
        TextView textView2 = this.tvReadMore;
        if (textView2 != null) {
            textView2.setOnFocusChangeListener(new r(textView2));
        }
        this.s = f.j.a.h.i.e.m0(f.j.a.k.d.c.a.e.d());
        Y = getApplicationContext().getPackageName();
        TextView textView3 = this.tvWatchTrailer;
        if (textView3 != null) {
            textView3.setOnFocusChangeListener(new r(textView3));
        }
        this.r = f.j.a.h.i.e.m0(f.j.a.k.d.c.a.a.a());
        this.t = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.US);
        getWindow().setFlags(BasicChronology.CACHE_SIZE, BasicChronology.CACHE_SIZE);
        K0((Toolbar) findViewById(R.id.toolbar));
        e1();
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        super.onCreateOptionsMenu(menu);
        this.toolbar.x(R.menu.menu_text_icon);
        this.z = menu;
        menu.getItem(1).getSubMenu().findItem(R.id.empty);
        TypedValue typedValue = new TypedValue();
        if (getTheme().resolveAttribute(16843499, typedValue, true)) {
            TypedValue.complexToDimensionPixelSize(typedValue.data, getResources().getDisplayMetrics());
        }
        for (int i2 = 0; i2 < this.toolbar.getChildCount(); i2++) {
            if (this.toolbar.getChildAt(i2) instanceof ActionMenuView) {
                ((Toolbar.e) this.toolbar.getChildAt(i2).getLayoutParams()).a = 16;
            }
        }
        return true;
    }

    @Override
    public boolean onKeyUp(int i2, KeyEvent keyEvent) {
        if (i2 != 82) {
            return super.onKeyUp(i2, keyEvent);
        }
        Menu menu = this.z;
        if (menu != null) {
            menu.performIdentifierAction(R.id.empty, 0);
            return true;
        }
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem menuItem) {
        Context context;
        int itemId = menuItem.getItemId();
        if (itemId == R.id.nav_home) {
            startActivity(new Intent(this, NewDashboardActivity.class));
            finish();
        }
        if (itemId == R.id.nav_settings) {
            startActivity(new Intent(this, SettingsActivity.class));
        }
        if (itemId == R.id.action_logout && (context = this.B) != null) {
            b.a aVar = new b.a(context, R.style.AlertDialogCustom);
            aVar.q(getResources().getString(R.string.logout_title));
            aVar.h(getResources().getString(R.string.logout_message));
            aVar.n(getResources().getString(R.string.yes), new p());
            aVar.j(getResources().getString(R.string.no), new o(this));
            aVar.s();
        }
        if (itemId == R.id.menu_load_channels_vod) {
            b.a aVar2 = new b.a(this);
            aVar2.q(this.B.getResources().getString(R.string.confirm_to_refresh));
            aVar2.h(this.B.getResources().getString(R.string.do_you_want_toproceed));
            aVar2.f(R.drawable.questionmark);
            aVar2.n(this.B.getResources().getString(R.string.yes), new q());
            aVar2.j(this.B.getResources().getString(R.string.no), new a(this));
            aVar2.s();
        }
        if (itemId == R.id.menu_load_tv_guide) {
            b.a aVar3 = new b.a(this);
            aVar3.q(this.B.getResources().getString(R.string.confirm_to_refresh));
            aVar3.h(this.B.getResources().getString(R.string.do_you_want_toproceed));
            aVar3.f(R.drawable.questionmark);
            aVar3.n(this.B.getResources().getString(R.string.yes), new b(this));
            aVar3.j(this.B.getResources().getString(R.string.no), new c(this));
            aVar3.s();
        }
        return super.onOptionsItemSelected(menuItem);
    }

    @Override
    public void onResume() {
        d1();
        super.onResume();
        f.j.a.h.i.e.f(this.B);
        getWindow().setFlags(BasicChronology.CACHE_SIZE, BasicChronology.CACHE_SIZE);
        SharedPreferences sharedPreferences = getSharedPreferences("loginPrefs", 0);
        this.D = sharedPreferences;
        if (sharedPreferences.getString("username", "").equals("") && this.D.getString("password", "").equals("")) {
            startActivity(new Intent(this, LoginActivity.class));
        } else if (this.B != null) {
            b();
        }
    }

    @OnClick
    public void onViewClicked(View view) {
        String str;
        String str2;
        switch (view.getId()) {
            case R.id.iv_movie_image:
            case R.id.tv_play:
                SharedPreferences sharedPreferences = this.B.getSharedPreferences("selectedPlayer", 0);
                this.E = sharedPreferences;
                String str3 = "";
                String string = sharedPreferences.getString("selectedPlayer", "");
                SimpleDateFormat simpleDateFormat = this.t;
                if (b1(simpleDateFormat, simpleDateFormat.format(new Date(f.j.a.k.d.c.a.f.a(this.B))), this.x.format(this.u)) >= f.j.a.k.d.c.a.d.p() && (str = this.r) != null && this.s != null && (!X.equals(str) || (this.r != null && (str2 = this.s) != null && !Y.equals(str2)))) {
                    this.Q = Boolean.FALSE;
                }
                if (this.Q.booleanValue()) {
                    try {
                        f.f.a.d.d.u.d d2 = f.f.a.d.d.u.b.f(this.B).d().d();
                        this.W = d2;
                        if (d2 != null && d2.c()) {
                            if (this.W != null && this.W.p() != null && this.W.p().j() != null && this.W.p().j().z() != null) {
                                str3 = this.W.p().j().z();
                            }
                            if (str3.contains(this.L)) {
                                this.B.startActivity(new Intent(this.B, ExpandedControlsActivity.class));
                                return;
                            } else {
                                f.j.a.h.h.a.d(0, true, f.j.a.h.h.a.a(this.G, "", "", 0, this.L, "videos/mp4", this.H, "", null), this.W, this.B);
                                return;
                            }
                        }
                        new ArrayList();
                        ArrayList arrayList = new ArrayList();
                        g0 g0Var = new g0(this, view);
                        g0Var.c().inflate(R.menu.menu_players_hp, g0Var.b());
                        ArrayList<ExternalPlayerModelClass> p2 = new f.j.a.i.p.c(this.B).p();
                        if (p2 != null) {
                            try {
                                if (p2.size() > 0) {
                                    g0Var.b().add(0, 0, 0, this.B.getResources().getString(R.string.nav_play));
                                    ExternalPlayerModelClass externalPlayerModelClass = new ExternalPlayerModelClass();
                                    externalPlayerModelClass.e(0);
                                    externalPlayerModelClass.d(this.B.getResources().getString(R.string.play_with));
                                    arrayList.add(externalPlayerModelClass);
                                    int i2 = 0;
                                    while (i2 < p2.size()) {
                                        Menu b2 = g0Var.b();
                                        int i3 = i2 + 1;
                                        b2.add(0, i3, 0, this.B.getResources().getString(R.string.play_with) + " " + p2.get(i2).a());
                                        arrayList.add(p2.get(i2));
                                        i2 = i3;
                                    }
                                    g0Var.f(new f(arrayList, string));
                                    g0Var.e(new g(this));
                                    g0Var.g();
                                    return;
                                }
                            } catch (Exception unused) {
                                return;
                            }
                        }
                        if (this.Q.booleanValue()) {
                            f.j.a.h.i.e.V(this.B, string, this.M, this.I, this.J, this.K, this.G, this.L, 0);
                            return;
                        }
                        return;
                    } catch (Exception unused2) {
                        if (this.Q.booleanValue()) {
                            f.j.a.h.i.e.V(this.B, string, this.M, this.I, this.J, this.K, this.G, this.L, 0);
                            return;
                        }
                        return;
                    }
                }
                return;
            case R.id.tv_readmore:
                h1(this);
                return;
            case R.id.tv_watch_trailer:
                String str4 = this.P;
                if (str4 == null || str4.isEmpty()) {
                    f1(this);
                    return;
                } else {
                    startActivity(new Intent(this, YouTubePlayerActivity.class).putExtra("you_tube_trailer", this.P));
                    return;
                }
            default:
                return;
        }
    }

    @Override
    public void onWindowFocusChanged(boolean z) {
        super.onWindowFocusChanged(z);
        d1();
    }

    @Override
    public void v(TMDBGenreCallback tMDBGenreCallback) {
        TextView textView;
        if (tMDBGenreCallback == null || tMDBGenreCallback.a() == null || tMDBGenreCallback.a().size() <= 0) {
            LinearLayout linearLayout = this.llGenreBox;
            if (linearLayout != null) {
                linearLayout.setVisibility(0);
            }
            LinearLayout linearLayout2 = this.llGenreBoxInfo;
            if (linearLayout2 != null) {
                linearLayout2.setVisibility(0);
            }
            textView = this.tv_genre_info;
        } else {
            String str = "";
            for (int i2 = 0; i2 < tMDBGenreCallback.a().size(); i2++) {
                str = str + ((f.f.d.w.g) tMDBGenreCallback.a().get(i2)).get("name").toString() + " / ";
            }
            String substring = str.substring(0, str.lastIndexOf(47));
            if (this.llGenreBox == null || this.llGenreBoxInfo == null || this.tv_genre_info == null || substring.isEmpty()) {
                LinearLayout linearLayout3 = this.llGenreBox;
                if (linearLayout3 != null) {
                    linearLayout3.setVisibility(0);
                }
                LinearLayout linearLayout4 = this.llGenreBoxInfo;
                if (linearLayout4 != null) {
                    linearLayout4.setVisibility(0);
                }
                textView = this.tv_genre_info;
            } else {
                this.llGenreBox.setVisibility(0);
                this.llGenreBoxInfo.setVisibility(0);
                if (substring.length() > 40) {
                }
                this.tv_genre_info.setText(substring);
            }
        }
        if (tMDBGenreCallback == null || tMDBGenreCallback.b() == null) {
            return;
        }
        try {
            int round = (int) Math.round(((Double) tMDBGenreCallback.b()).doubleValue() * 60.0d);
            String format = String.format("%02d:%02d:%02d", Integer.valueOf(round / DateTimeConstants.SECONDS_PER_HOUR), Integer.valueOf((round % DateTimeConstants.SECONDS_PER_HOUR) / 60), Integer.valueOf(round % 60));
            this.llDurationBox.setVisibility(0);
            this.llDurationBoxInfo.setVisibility(0);
            float f2 = round;
            int i3 = (int) (f2 / 3600.0f);
            try {
                int round2 = Math.round((f2 % 3600.0f) / 60.0f);
                if (i3 == 0) {
                    this.tvMovieDurationInfo.setText(round2 + com.facebook.internal.m.a);
                } else {
                    this.tvMovieDurationInfo.setText(i3 + "h " + round2 + com.facebook.internal.m.a);
                }
            } catch (Exception unused) {
                this.tvMovieDurationInfo.setText(format);
            }
        } catch (Exception unused2) {
            LinearLayout linearLayout5 = this.llDurationBox;
            if (linearLayout5 != null) {
                linearLayout5.setVisibility(0);
            }
            LinearLayout linearLayout6 = this.llDurationBoxInfo;
            if (linearLayout6 != null) {
                linearLayout6.setVisibility(0);
            }
            TextView textView2 = this.tvMovieDurationInfo;
            if (textView2 != null) {
                textView2.setText("N/A");
            }
        }
    }

    @Override
    public void z(TMDBPersonInfoCallback tMDBPersonInfoCallback) {
    }
}