82 lines
1.7 KiB
Smali
82 lines
1.7 KiB
Smali
.class Lcom/moji/postcard/ui/AddAddressActivity$1;
|
|
.super Ljava/lang/Object;
|
|
.source "AddAddressActivity.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/text/TextWatcher;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/postcard/ui/AddAddressActivity;->b()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/postcard/ui/AddAddressActivity;
|
|
|
|
.field private b:Ljava/lang/CharSequence;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/postcard/ui/AddAddressActivity;)V
|
|
.locals 0
|
|
|
|
.line 75
|
|
iput-object p1, p0, Lcom/moji/postcard/ui/AddAddressActivity$1;->a:Lcom/moji/postcard/ui/AddAddressActivity;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public afterTextChanged(Landroid/text/Editable;)V
|
|
.locals 2
|
|
|
|
.line 94
|
|
invoke-interface {p1}, Landroid/text/Editable;->length()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
if-le v0, v1, :cond_0
|
|
|
|
.line 95
|
|
invoke-interface {p1}, Landroid/text/Editable;->length()I
|
|
|
|
move-result v0
|
|
|
|
invoke-interface {p1, v1, v0}, Landroid/text/Editable;->delete(II)Landroid/text/Editable;
|
|
|
|
.line 96
|
|
sget p1, Lcom/moji/postcard/R$string;->mj_postcard_most_10:I
|
|
|
|
invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onTextChanged(Ljava/lang/CharSequence;III)V
|
|
.locals 0
|
|
|
|
.line 87
|
|
iput-object p1, p0, Lcom/moji/postcard/ui/AddAddressActivity$1;->b:Ljava/lang/CharSequence;
|
|
|
|
return-void
|
|
.end method
|