BaseLazyFragment.smali
.class public abstract Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;
.super Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lsg/bigo/core/mvp/presenter/a;",
">",
"Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment<",
"TT;>;"
}
.end annotation
# instance fields
.field private c:Z
.field private g:Z
.field private h:Z
.field private i:Landroid/view/ViewGroup;
.field private j:Landroid/os/Bundle;
.field private k:Ljava/lang/Boolean;
# direct methods
.method public constructor <init>()V
.registers 2
.line 29
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;-><init>()V
const/4 v0, 0x0
.line 34
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
.line 35
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->g:Z
.line 36
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->h:Z
.line 39
sget-object v0, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->k:Ljava/lang/Boolean;
return-void
.end method
.method private k()V
.registers 2
.line 206
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->g:Z
if-nez v0, :cond_f
const/4 v0, 0x1
.line 207
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->g:Z
.line 208
new-instance v0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment$1;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment$1;-><init>(Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;)V
invoke-static {v0}, Lsg/bigo/common/ac;->b(Ljava/lang/Runnable;)V
:cond_f
return-void
.end method
# virtual methods
.method public final Q_()V
.registers 2
.line 127
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->Q_()V
.line 128
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-nez v0, :cond_1e
.line 129
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->isResumed()Z
move-result v0
if-eqz v0, :cond_13
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->getUserVisibleHint()Z
move-result v0
if-nez v0, :cond_17
:cond_13
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->d:Z
if-eqz v0, :cond_1b
.line 130
:cond_17
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->k()V
return-void
:cond_1b
const/4 v0, 0x1
.line 132
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->h:Z
:cond_1e
return-void
.end method
.method protected abstract a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)Landroid/view/View;
.end method
.method protected a(Landroid/os/Bundle;)V
.registers 2
return-void
.end method
.method public b(Landroid/os/Bundle;)V
.registers 2
return-void
.end method
.method public c(Landroid/os/Bundle;)V
.registers 2
return-void
.end method
.method protected e()V
.registers 1
return-void
.end method
.method public f()V
.registers 3
.line 140
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->f()V
.line 141
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-eqz v0, :cond_34
.line 142
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->j:Landroid/os/Bundle;
invoke-virtual {p0, v0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->a(Landroid/os/Bundle;)V
.line 143
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->getLayoutInflater()Landroid/view/LayoutInflater;
move-result-object v0
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->i:Landroid/view/ViewGroup;
invoke-virtual {p0, v0, v1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)Landroid/view/View;
move-result-object v0
.line 144
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->i:Landroid/view/ViewGroup;
invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
.line 2194
sget-object v0, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->k:Ljava/lang/Boolean;
.line 146
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->j:Landroid/os/Bundle;
invoke-virtual {p0, v0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->b(Landroid/os/Bundle;)V
.line 151
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->g()V
.line 152
invoke-static {}, Lcom/masala/share/proto/u;->b()Z
move-result v0
if-eqz v0, :cond_30
.line 153
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->k()V
:cond_30
const/4 v0, 0x0
.line 155
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
return-void
.line 156
:cond_34
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->h:Z
if-eqz v0, :cond_3b
.line 157
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->k()V
:cond_3b
return-void
.end method
.method public g()V
.registers 1
return-void
.end method
.method public h()V
.registers 1
return-void
.end method
.method public i()V
.registers 1
return-void
.end method
.method public j()V
.registers 1
return-void
.end method
.method public final onActivityCreated(Landroid/os/Bundle;)V
.registers 3
.line 86
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onActivityCreated(Landroid/os/Bundle;)V
.line 87
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-nez v0, :cond_a
.line 88
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->b(Landroid/os/Bundle;)V
:cond_a
return-void
.end method
.method public onCreate(Landroid/os/Bundle;)V
.registers 4
.line 43
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onCreate(Landroid/os/Bundle;)V
.line 45
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->j:Landroid/os/Bundle;
.line 46
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->getArguments()Landroid/os/Bundle;
move-result-object v0
if-eqz v0, :cond_1e
const-string v1, "lazy_load"
.line 48
invoke-virtual {v0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z
move-result v0
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-eqz v0, :cond_1e
.line 49
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->getUserVisibleHint()Z
move-result v0
if-eqz v0, :cond_1e
const/4 v0, 0x0
.line 50
iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
.line 54
:cond_1e
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-nez v0, :cond_25
.line 55
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->a(Landroid/os/Bundle;)V
:cond_25
return-void
.end method
.method public final onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
.registers 6
.line 1049
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/AppBaseFragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object p3
check-cast p3, Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
const/4 v0, 0x0
const v1, 0x7e090026
.line 61
invoke-static {p3, v1, p2, v0}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/content/Context;ILandroid/view/ViewGroup;Z)Landroid/view/View;
move-result-object p2
check-cast p2, Landroid/view/ViewGroup;
iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->i:Landroid/view/ViewGroup;
if-nez p2, :cond_4f
.line 62
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object p2
if-eqz p2, :cond_4f
.line 63
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p2
invoke-virtual {p2}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;
move-result-object p2
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p2, " onCreateView failed"
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const/4 p2, 0x1
const-string p3, "BaseLazyFragment"
.line 1079
invoke-static {p3, p1, p2}, Lcom/imo/android/imoim/util/bt;->a(Ljava/lang/String;Ljava/lang/String;Z)V
.line 65
new-instance p2, Ljava/lang/RuntimeException;
invoke-direct {p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
new-instance p1, Ljava/util/HashMap;
invoke-direct {p1}, Ljava/util/HashMap;-><init>()V
invoke-static {p2, v0, p1}, Lsg/bigo/b/b/a;->a(Ljava/lang/Throwable;ZLjava/util/HashMap;)V
.line 66
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object p1
invoke-virtual {p1}, Landroidx/fragment/app/FragmentActivity;->finish()V
const/4 p1, 0x0
return-object p1
.line 69
:cond_4f
iget-boolean p2, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-eqz p2, :cond_56
.line 70
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->i:Landroid/view/ViewGroup;
return-object p1
.line 72
:cond_56
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->i:Landroid/view/ViewGroup;
invoke-virtual {p0, p1, p2}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)Landroid/view/View;
move-result-object p1
.line 73
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->i:Landroid/view/ViewGroup;
invoke-virtual {p2, p1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
.line 74
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->i:Landroid/view/ViewGroup;
return-object p1
.end method
.method public final onDestroy()V
.registers 2
.line 180
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-nez v0, :cond_7
.line 181
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->j()V
.line 183
:cond_7
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onDestroy()V
return-void
.end method
.method public final onSaveInstanceState(Landroid/os/Bundle;)V
.registers 3
.line 163
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onSaveInstanceState(Landroid/os/Bundle;)V
.line 164
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-nez v0, :cond_a
.line 165
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c(Landroid/os/Bundle;)V
:cond_a
return-void
.end method
.method public final onStart()V
.registers 1
.line 102
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onStart()V
return-void
.end method
.method public final onStop()V
.registers 2
.line 171
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-nez v0, :cond_7
.line 172
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->i()V
.line 174
:cond_7
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onStop()V
return-void
.end method
.method public final onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.registers 3
.line 79
iget-boolean p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-nez p1, :cond_8
.line 1194
sget-object p1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->k:Ljava/lang/Boolean;
:cond_8
return-void
.end method
.method public onViewStateRestored(Landroid/os/Bundle;)V
.registers 2
.line 94
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->onViewStateRestored(Landroid/os/Bundle;)V
return-void
.end method
.method public final s()V
.registers 2
.line 110
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->s()V
.line 111
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-nez v0, :cond_a
.line 112
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->g()V
:cond_a
return-void
.end method
.method public final t()V
.registers 2
.line 118
invoke-super {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->t()V
.line 119
iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->c:Z
if-nez v0, :cond_a
.line 120
invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->h()V
:cond_a
return-void
.end method
.method public final u()Z
.registers 2
.line 251
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/base/BaseLazyFragment;->k:Ljava/lang/Boolean;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
return v0
.end method