You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.9 KiB
77 lines
1.9 KiB
.class final Lcom/facebook/GraphRequest$2; |
|
.super Ljava/lang/Object; |
|
.source "GraphRequest.java" |
|
|
|
# interfaces |
|
.implements Lcom/facebook/GraphRequest$Callback; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/facebook/GraphRequest;->newMyFriendsRequest(Lcom/facebook/AccessToken;Lcom/facebook/GraphRequest$GraphJSONArrayCallback;)Lcom/facebook/GraphRequest; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x8 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic val$callback:Lcom/facebook/GraphRequest$GraphJSONArrayCallback; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/facebook/GraphRequest$GraphJSONArrayCallback;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 348 |
|
iput-object p1, p0, Lcom/facebook/GraphRequest$2;->val$callback:Lcom/facebook/GraphRequest$GraphJSONArrayCallback; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onCompleted(Lcom/facebook/GraphResponse;)V |
|
.locals 2 |
|
|
|
.prologue |
|
.line 351 |
|
iget-object v0, p0, Lcom/facebook/GraphRequest$2;->val$callback:Lcom/facebook/GraphRequest$GraphJSONArrayCallback; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 352 |
|
invoke-virtual {p1}, Lcom/facebook/GraphResponse;->getJSONObject()Lorg/json/JSONObject; |
|
|
|
move-result-object v0 |
|
|
|
.line 353 |
|
if-eqz v0, :cond_1 |
|
|
|
const-string v1, "data" |
|
|
|
invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; |
|
|
|
move-result-object v0 |
|
|
|
.line 354 |
|
:goto_0 |
|
iget-object v1, p0, Lcom/facebook/GraphRequest$2;->val$callback:Lcom/facebook/GraphRequest$GraphJSONArrayCallback; |
|
|
|
invoke-interface {v1, v0, p1}, Lcom/facebook/GraphRequest$GraphJSONArrayCallback;->onCompleted(Lorg/json/JSONArray;Lcom/facebook/GraphResponse;)V |
|
|
|
.line 356 |
|
:cond_0 |
|
return-void |
|
|
|
.line 353 |
|
:cond_1 |
|
const/4 v0, 0x0 |
|
|
|
goto :goto_0 |
|
.end method
|
|
|