.class public Lcom/moji/helper/MJTipHelper;
.super Ljava/lang/Object;
.source "MJTipHelper.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 13
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(Landroid/content/Context;I)V
    .locals 0
    .param p1    # I
        .annotation build Landroid/support/annotation/StringRes;
        .end annotation
    .end param

    .line 23
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p0, p1}, Lcom/moji/helper/MJTipHelper;->a(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)V
    .locals 1

    .line 16
    new-instance v0, Lcom/moji/tipview/MJTipView$Builder;

    invoke-direct {v0, p0}, Lcom/moji/tipview/MJTipView$Builder;-><init>(Landroid/content/Context;)V

    .line 17
    invoke-virtual {v0, p1}, Lcom/moji/tipview/MJTipView$Builder;->a(Ljava/lang/String;)Lcom/moji/tipview/MJTipView$Builder;

    move-result-object p0

    sget-object p1, Lcom/moji/tipview/MJTipView$TipMode;->SUCCESS:Lcom/moji/tipview/MJTipView$TipMode;

    .line 18
    invoke-virtual {p0, p1}, Lcom/moji/tipview/MJTipView$Builder;->a(Lcom/moji/tipview/MJTipView$TipMode;)Lcom/moji/tipview/MJTipView$Builder;

    move-result-object p0

    .line 19
    invoke-virtual {p0}, Lcom/moji/tipview/MJTipView$Builder;->b()V

    return-void
.end method

.method public static b(Landroid/content/Context;I)V
    .locals 0
    .param p1    # I
        .annotation build Landroid/support/annotation/StringRes;
        .end annotation
    .end param

    .line 34
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p0, p1}, Lcom/moji/helper/MJTipHelper;->b(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method public static b(Landroid/content/Context;Ljava/lang/String;)V
    .locals 1

    .line 27
    new-instance v0, Lcom/moji/tipview/MJTipView$Builder;

    invoke-direct {v0, p0}, Lcom/moji/tipview/MJTipView$Builder;-><init>(Landroid/content/Context;)V

    .line 28
    invoke-virtual {v0, p1}, Lcom/moji/tipview/MJTipView$Builder;->a(Ljava/lang/String;)Lcom/moji/tipview/MJTipView$Builder;

    move-result-object p0

    sget-object p1, Lcom/moji/tipview/MJTipView$TipMode;->FAIL:Lcom/moji/tipview/MJTipView$TipMode;

    .line 29
    invoke-virtual {p0, p1}, Lcom/moji/tipview/MJTipView$Builder;->a(Lcom/moji/tipview/MJTipView$TipMode;)Lcom/moji/tipview/MJTipView$Builder;

    move-result-object p0

    .line 30
    invoke-virtual {p0}, Lcom/moji/tipview/MJTipView$Builder;->b()V

    return-void
.end method
