VKShareDialog.smali
.class public Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;
.super Landroid/app/DialogFragment;
.source "VKShareDialog.java"
# interfaces
.implements Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate$a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog$a;
}
.end annotation
# instance fields
.field private a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
# direct methods
.method public constructor <init>()V
.registers 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
invoke-direct {p0}, Landroid/app/DialogFragment;-><init>()V
.line 2
new-instance v0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
invoke-direct {v0, p0}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;-><init>(Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate$a;)V
iput-object v0, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
return-void
.end method
.method constructor <init>(Lcom/beetalk/sdk/plugin/impl/vk/c;)V
.registers 5
.annotation build Landroid/annotation/SuppressLint;
value = {
"ValidFragment"
}
.end annotation
.line 3
invoke-direct {p0}, Landroid/app/DialogFragment;-><init>()V
.line 4
new-instance v0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
invoke-direct {v0, p0}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;-><init>(Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate$a;)V
iput-object v0, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
.line 5
iget-object v0, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
iget-object v1, p1, Lcom/beetalk/sdk/plugin/impl/vk/c;->c:[Lcom/vk/sdk/api/photo/VKUploadImage;
invoke-virtual {v0, v1}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;->a([Lcom/vk/sdk/api/photo/VKUploadImage;)V
.line 6
iget-object v0, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
iget-object v1, p1, Lcom/beetalk/sdk/plugin/impl/vk/c;->e:Ljava/lang/CharSequence;
invoke-virtual {v0, v1}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;->a(Ljava/lang/CharSequence;)V
.line 7
iget-object v0, p1, Lcom/beetalk/sdk/plugin/impl/vk/c;->a:Ljava/lang/String;
if-eqz v0, :cond_25
iget-object v1, p1, Lcom/beetalk/sdk/plugin/impl/vk/c;->b:Ljava/lang/String;
if-eqz v1, :cond_25
.line 8
iget-object v2, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
invoke-virtual {v2, v0, v1}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 9
:cond_25
iget-object v0, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
iget-object v1, p1, Lcom/beetalk/sdk/plugin/impl/vk/c;->d:Lcom/vk/sdk/api/model/VKPhotoArray;
invoke-virtual {v0, v1}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;->a(Lcom/vk/sdk/api/model/VKPhotoArray;)V
.line 10
iget-object v0, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
iget-object p1, p1, Lcom/beetalk/sdk/plugin/impl/vk/c;->f:Lcom/beetalk/sdk/plugin/impl/vk/c$a;
invoke-virtual {v0, p1}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;->a(Lcom/beetalk/sdk/plugin/impl/vk/c$a;)V
return-void
.end method
# virtual methods
.method public dismiss()V
.registers 2
.line 1
invoke-virtual {p0}, Landroid/app/DialogFragment;->getFragmentManager()Landroid/app/FragmentManager;
move-result-object v0
if-eqz v0, :cond_9
.line 2
invoke-super {p0}, Landroid/app/DialogFragment;->dismiss()V
:cond_9
return-void
.end method
.method public dismissAllowingStateLoss()V
.registers 2
.line 1
invoke-virtual {p0}, Landroid/app/DialogFragment;->getFragmentManager()Landroid/app/FragmentManager;
move-result-object v0
if-eqz v0, :cond_9
.line 2
invoke-super {p0}, Landroid/app/DialogFragment;->dismissAllowingStateLoss()V
:cond_9
return-void
.end method
.method public onCancel(Landroid/content/DialogInterface;)V
.registers 3
.line 1
invoke-super {p0, p1}, Landroid/app/DialogFragment;->onCancel(Landroid/content/DialogInterface;)V
.line 2
iget-object v0, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
invoke-virtual {v0, p1}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;->a(Landroid/content/DialogInterface;)V
return-void
.end method
.method public onCreateDialog(Landroid/os/Bundle;)Landroid/app/Dialog;
.registers 3
.line 1
iget-object v0, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
invoke-virtual {v0, p1}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;->a(Landroid/os/Bundle;)Landroid/app/Dialog;
move-result-object p1
return-object p1
.end method
.method public onPause()V
.registers 3
.line 1
invoke-super {p0}, Landroid/app/DialogFragment;->onPause()V
.line 2
iget-object v0, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;->a(Landroid/content/DialogInterface;)V
return-void
.end method
.method public onSaveInstanceState(Landroid/os/Bundle;)V
.registers 2
.line 1
invoke-super {p0, p1}, Landroid/app/DialogFragment;->onSaveInstanceState(Landroid/os/Bundle;)V
return-void
.end method
.method public onStart()V
.registers 2
.annotation build Landroid/annotation/SuppressLint;
value = {
"NewApi"
}
.end annotation
.line 1
invoke-super {p0}, Landroid/app/DialogFragment;->onStart()V
.line 2
iget-object v0, p0, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialog;->a:Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;
invoke-virtual {v0}, Lcom/beetalk/sdk/plugin/impl/vk/VKShareDialogDelegate;->a()V
return-void
.end method