changed repo structure
This commit is contained in:
@@ -0,0 +1,121 @@
|
||||
.class abstract Landroidx/lifecycle/LiveData$ObserverWrapper;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LiveData.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/LiveData;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x402
|
||||
name = "ObserverWrapper"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field mActive:Z
|
||||
|
||||
.field mLastVersion:I
|
||||
|
||||
.field final mObserver:Landroidx/lifecycle/Observer;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/lifecycle/Observer<",
|
||||
"-TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field final synthetic this$0:Landroidx/lifecycle/LiveData;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/Observer;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroidx/lifecycle/Observer<",
|
||||
"-TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 461
|
||||
iput-object p1, p0, Landroidx/lifecycle/LiveData$ObserverWrapper;->this$0:Landroidx/lifecycle/LiveData;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const/4 p1, -0x1
|
||||
|
||||
.line 459
|
||||
iput p1, p0, Landroidx/lifecycle/LiveData$ObserverWrapper;->mLastVersion:I
|
||||
|
||||
.line 462
|
||||
iput-object p2, p0, Landroidx/lifecycle/LiveData$ObserverWrapper;->mObserver:Landroidx/lifecycle/Observer;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method activeStateChanged(Z)V
|
||||
.locals 1
|
||||
|
||||
.line 475
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/LiveData$ObserverWrapper;->mActive:Z
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
.line 480
|
||||
:cond_0
|
||||
iput-boolean p1, p0, Landroidx/lifecycle/LiveData$ObserverWrapper;->mActive:Z
|
||||
|
||||
.line 481
|
||||
iget-object v0, p0, Landroidx/lifecycle/LiveData$ObserverWrapper;->this$0:Landroidx/lifecycle/LiveData;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 p1, -0x1
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v0, p1}, Landroidx/lifecycle/LiveData;->changeActiveCounter(I)V
|
||||
|
||||
.line 482
|
||||
iget-boolean p1, p0, Landroidx/lifecycle/LiveData$ObserverWrapper;->mActive:Z
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
.line 483
|
||||
iget-object p1, p0, Landroidx/lifecycle/LiveData$ObserverWrapper;->this$0:Landroidx/lifecycle/LiveData;
|
||||
|
||||
invoke-virtual {p1, p0}, Landroidx/lifecycle/LiveData;->dispatchingValue(Landroidx/lifecycle/LiveData$ObserverWrapper;)V
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method detachObserver()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method isAttachedTo(Landroidx/lifecycle/LifecycleOwner;)Z
|
||||
.locals 0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method abstract shouldBeActive()Z
|
||||
.end method
|
||||
Reference in New Issue
Block a user