.class Lcom/afollestad/materialdialogs/c; .super Landroid/app/Dialog; .source "DialogBase.java" # interfaces .implements Landroid/content/DialogInterface$OnShowListener; # instance fields .field protected a:Lcom/afollestad/materialdialogs/internal/MDRootLayout; .field private b:Landroid/content/DialogInterface$OnShowListener; # direct methods .method constructor (Landroid/content/Context;I)V .locals 0 .prologue .line 19 invoke-direct {p0, p1, p2}, Landroid/app/Dialog;->(Landroid/content/Context;I)V .line 20 return-void .end method # virtual methods .method final a()V .locals 0 .prologue .line 33 invoke-super {p0, p0}, Landroid/app/Dialog;->setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)V .line 34 return-void .end method .method final a(Landroid/view/View;)V .locals 0 .prologue .line 37 invoke-super {p0, p1}, Landroid/app/Dialog;->setContentView(Landroid/view/View;)V .line 38 return-void .end method .method public findViewById(I)Landroid/view/View; .locals 1 .prologue .line 24 iget-object v0, p0, Lcom/afollestad/materialdialogs/c;->a:Lcom/afollestad/materialdialogs/internal/MDRootLayout; invoke-virtual {v0, p1}, Lcom/afollestad/materialdialogs/internal/MDRootLayout;->findViewById(I)Landroid/view/View; move-result-object v0 return-object v0 .end method .method public onShow(Landroid/content/DialogInterface;)V .locals 1 .prologue .line 42 iget-object v0, p0, Lcom/afollestad/materialdialogs/c;->b:Landroid/content/DialogInterface$OnShowListener; if-eqz v0, :cond_0 .line 43 iget-object v0, p0, Lcom/afollestad/materialdialogs/c;->b:Landroid/content/DialogInterface$OnShowListener; invoke-interface {v0, p1}, Landroid/content/DialogInterface$OnShowListener;->onShow(Landroid/content/DialogInterface;)V .line 45 :cond_0 return-void .end method .method public setContentView(I)V .locals 2 .annotation runtime Ljava/lang/Deprecated; .end annotation .prologue .line 50 new-instance v0, Ljava/lang/IllegalAccessError; const-string v1, "setContentView() is not supported in MaterialDialog. Specify a custom view in the Builder instead." invoke-direct {v0, v1}, Ljava/lang/IllegalAccessError;->(Ljava/lang/String;)V throw v0 .end method .method public setContentView(Landroid/view/View;)V .locals 2 .param p1 # Landroid/view/View; .annotation build Landroid/support/annotation/NonNull; .end annotation .end param .annotation runtime Ljava/lang/Deprecated; .end annotation .prologue .line 57 new-instance v0, Ljava/lang/IllegalAccessError; const-string v1, "setContentView() is not supported in MaterialDialog. Specify a custom view in the Builder instead." invoke-direct {v0, v1}, Ljava/lang/IllegalAccessError;->(Ljava/lang/String;)V throw v0 .end method .method public setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V .locals 2 .param p1 # Landroid/view/View; .annotation build Landroid/support/annotation/NonNull; .end annotation .end param .annotation runtime Ljava/lang/Deprecated; .end annotation .prologue .line 65 new-instance v0, Ljava/lang/IllegalAccessError; const-string v1, "setContentView() is not supported in MaterialDialog. Specify a custom view in the Builder instead." invoke-direct {v0, v1}, Ljava/lang/IllegalAccessError;->(Ljava/lang/String;)V throw v0 .end method .method public final setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)V .locals 0 .prologue .line 29 iput-object p1, p0, Lcom/afollestad/materialdialogs/c;->b:Landroid/content/DialogInterface$OnShowListener; .line 30 return-void .end method