143 lines
3.3 KiB
Smali
143 lines
3.3 KiB
Smali
.class public abstract Lcom/facebook/datasource/b;
|
|
.super Ljava/lang/Object;
|
|
.source "BaseDataSubscriber.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/facebook/datasource/d;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lcom/facebook/datasource/d<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onCancellation(Lcom/facebook/datasource/DataSource;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onFailure(Lcom/facebook/datasource/DataSource;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0, p1}, Lcom/facebook/datasource/b;->onFailureImpl(Lcom/facebook/datasource/DataSource;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->fA()Z
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->fA()Z
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method protected abstract onFailureImpl(Lcom/facebook/datasource/DataSource;)V
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public onNewResult(Lcom/facebook/datasource/DataSource;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->isFinished()Z
|
|
|
|
move-result v0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0, p1}, Lcom/facebook/datasource/b;->onNewResultImpl(Lcom/facebook/datasource/DataSource;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->fA()Z
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->fA()Z
|
|
|
|
:cond_1
|
|
throw v1
|
|
.end method
|
|
|
|
.method protected abstract onNewResultImpl(Lcom/facebook/datasource/DataSource;)V
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public onProgressUpdate(Lcom/facebook/datasource/DataSource;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|