返回列表 发新帖

[悬赏求助] 求大佬指点修改底部按键

[复制链接]

2

主题

622

帖子

1931

积分

高中生

Rank: 4

金币
787
好评
0
贡献
0
发表在  2019-8-23 01:29:20 | 显示全部楼层 | 阅读模式
5金币

去底部会员按键
在代码里找到了位置  删除会员这行后  界面是可以了  但是点击发现还是跳转到会员 我的点击变成发现了  真正的我的界面没有
小白不知道怎么修改了  试过把底部按键代码位置调换  显示上是成功了  但是点击后还是和没改位置一样
.class public final Lcom/okfunc/sunflower/main/activity/MainActivity;
.super Lcom/hazz/kotlinmvp/base/CommonBaseActivity;
.source "MainActivity.kt"


# annotations
.annotation build Lcom/alibaba/android/arouter/facade/annotation/Route;
    path = "/main/mainactivity"
.end annotation

.annotation system Ldalvik/annotation/SourceDebugExtension;
    value = "SMAP\nMainActivity.kt\nKotlin\n*S Kotlin\n*F\n+ 1 MainActivity.kt\ncom/okfunc/sunflower/main/activity/MainActivity\n*L\n1#1,174:1\n*E\n"
.end annotation

.annotation runtime Lkotlin/Metadata;
    bv = {
        0x1,
        0x0,
        0x3
    }
    d1 = {
        "\u0000O\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u0011\n\u0002\u0008\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\u0008\u0007*\u0001\r\u0008\u0007\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u0008\u0010\u000f\u001a\u00020\u0010H\u0016J\u0008\u0010\u0011\u001a\u00020\u0010H\u0016J\u0008\u0010\u0012\u001a\u00020\u0013H\u0016J\u0008\u0010\u0014\u001a\u00020\u0010H\u0016J\u0018\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u0017\u001a\u00020\u00132\u0006\u0010\u0018\u001a\u00020\u0019H\u0016J\u0008\u0010\u001a\u001a\u00020\u0010H\u0014J\u001e\u0010\u001b\u001a\u00020\u00102\u0006\u0010\u001c\u001a\u00020\u00132\u000c\u0010\u001d\u001a\u0008\u0012\u0004\u0012\u00020\u001f0\u001eH\u0016J\u0008\u0010 \u001a\u00020\u0010H\u0014J\u0008\u0010!\u001a\u00020\u0010H\u0002J\u0006\u0010\"\u001a\u00020\u0010J\u0010\u0010#\u001a\u00020\u00102\u0006\u0010$\u001a\u00020\u0013H\u0002J\u0008\u0010%\u001a\u00020\u0010H\u0016R\u001c\u0010\u0003\u001a\u0004\u0018\u00010\u0004X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u0005\u0010\u0006\"\u0004\u0008\u0007\u0010\u0008R\u0016\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00040\nX\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\u000bR\u0010\u0010\u000c\u001a\u00020\rX\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\u000e\u00a8\u0006&"
    }
    d2 = {
        "Lcom/okfunc/sunflower/main/activity/MainActivity;",
        "Lcom/hazz/kotlinmvp/base/CommonBaseActivity;",
        "()V",
        "currentFragment",
        "Lcom/hazz/kotlinmvp/base/CommonBaseFragment;",
        "getCurrentFragment",
        "()Lcom/hazz/kotlinmvp/base/CommonBaseFragment;",
        "setCurrentFragment",
        "(Lcom/hazz/kotlinmvp/base/CommonBaseFragment;)V",
        "fgms",
        "",
        "[Lcom/hazz/kotlinmvp/base/CommonBaseFragment;",
        "tabSelect",
        "com/okfunc/sunflower/main/activity/MainActivity$tabSelect$1",
        "Lcom/okfunc/sunflower/main/activity/MainActivity$tabSelect$1;",
        "initData",
        "",
        "initView",
        "layoutId",
        "",
        "onBackPressed",
        "onKeyDown",
        "",
        "keyCode",
        "event",
        "Landroid/view/KeyEvent;",
        "onPause",
        "onPermissionsGranted",
        "requestCode",
        "perms",
        "",
        "",
        "onResume",
        "refreshTips",
        "registerDevices",
        "setCurrentTab",
        "position",
        "start",
        "sunflower_channel_gfRelease"
    }
    k = 0x1
    mv = {
        0x1,
        0x1,
        0xd
    }
.end annotation


# instance fields
.field private _$_findViewCache:Ljava/util/HashMap;

.field private currentFragment:Lcom/hazz/kotlinmvp/base/CommonBaseFragment;
    .annotation build Lorg/jetbrains/annotations/Nullable;
    .end annotation
.end field

.field private final fgms:[Lcom/hazz/kotlinmvp/base/CommonBaseFragment;

.field private final tabSelect:Lcom/okfunc/sunflower/main/activity/MainActivity$tabSelect$1;


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

    .line 33
    invoke-direct {p0}, Lcom/hazz/kotlinmvp/base/CommonBaseActivity;-><init>()V

    const/4 v0, 0x4

    .line 108
    new-array v0, v0, [Lcom/hazz/kotlinmvp/base/CommonBaseFragment;

    .line 109
    new-instance v1, Lcom/okfunc/uilib/ui/home/HomeFragment;

    invoke-direct {v1}, Lcom/okfunc/uilib/ui/home/HomeFragment;-><init>()V

    check-cast v1, Lcom/hazz/kotlinmvp/base/CommonBaseFragment;

    const/4 v2, 0x0

    aput-object v1, v0, v2

    .line 110
    new-instance v1, Lcom/okfunc/uilib/ui/category/VipLinkWebFragment;

    invoke-direct {v1}, Lcom/okfunc/uilib/ui/category/VipLinkWebFragment;-><init>()V

    check-cast v1, Lcom/hazz/kotlinmvp/base/CommonBaseFragment;

    const/4 v2, 0x1

    aput-object v1, v0, v2

    .line 111
    new-instance v1, Lcom/okfunc/uilib/ui/discover/DiscoverFragment;

    invoke-direct {v1}, Lcom/okfunc/uilib/ui/discover/DiscoverFragment;-><init>()V

    check-cast v1, Lcom/hazz/kotlinmvp/base/CommonBaseFragment;

    const/4 v2, 0x2

    aput-object v1, v0, v2

    .line 112
    new-instance v1, Lcom/okfunc/uilib/ui/user/UserFragment;

    invoke-direct {v1}, Lcom/okfunc/uilib/ui/user/UserFragment;-><init>()V

    check-cast v1, Lcom/hazz/kotlinmvp/base/CommonBaseFragment;

    const/4 v2, 0x3

    aput-object v1, v0, v2

    .line 108
    iput-object v0, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->fgms:[Lcom/hazz/kotlinmvp/base/CommonBaseFragment;

    .line 135
    new-instance v0, Lcom/okfunc/sunflower/main/activity/MainActivity$tabSelect$1;

    invoke-direct {v0, p0}, Lcom/okfunc/sunflower/main/activity/MainActivity$tabSelect$1;-><init>(Lcom/okfunc/sunflower/main/activity/MainActivity;)V

    iput-object v0, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->tabSelect:Lcom/okfunc/sunflower/main/activity/MainActivity$tabSelect$1;

    return-void
.end method

.method public static final synthetic access$getFgms$p(Lcom/okfunc/sunflower/main/activity/MainActivity;)[Lcom/hazz/kotlinmvp/base/CommonBaseFragment;
    .locals 0

    .line 33
    iget-object p0, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->fgms:[Lcom/hazz/kotlinmvp/base/CommonBaseFragment;

    return-object p0
.end method

.method public static final synthetic access$refreshTips(Lcom/okfunc/sunflower/main/activity/MainActivity;)V
    .locals 0

    .line 33
    invoke-direct {p0}, Lcom/okfunc/sunflower/main/activity/MainActivity;->refreshTips()V

    return-void
.end method

.method private final refreshTips()V
    .locals 2

    .line 116
    sget-object v0, Lcom/okfunc/uilib/core/api/ApiManager;->INSTANCE:Lcom/okfunc/uilib/core/api/ApiManager;

    new-instance v1, Lcom/okfunc/sunflower/main/activity/MainActivity$refreshTips$1;

    invoke-direct {v1, p0}, Lcom/okfunc/sunflower/main/activity/MainActivity$refreshTips$1;-><init>(Lcom/okfunc/sunflower/main/activity/MainActivity;)V

    check-cast v1, Lkotlin/jvm/functions/Function3;

    invoke-virtual {v0, v1}, Lcom/okfunc/uilib/core/api/ApiManager;->getNotice(Lkotlin/jvm/functions/Function3;)V

    return-void
.end method

.method private final setCurrentTab(I)V
    .locals 2

    .line 160
    sget v0, Lcom/okfunc/sunflower/R$id;->tabLayout:I

    invoke-virtual {p0, v0}, Lcom/okfunc/sunflower/main/activity/MainActivity;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/kotlin/basiclib/widget/commontab/CommonTabLayout;

    const-string v1, "tabLayout"

    invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v0, p1}, Lcom/kotlin/basiclib/widget/commontab/CommonTabLayout;->setCurrentTab(I)V

    .line 161
    iget-object v0, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->tabSelect:Lcom/okfunc/sunflower/main/activity/MainActivity$tabSelect$1;

    invoke-virtual {v0, p1}, Lcom/okfunc/sunflower/main/activity/MainActivity$tabSelect$1;->onTabSelect(I)V

    return-void
.end method


# virtual methods
.method public _$_clearFindViewByIdCache()V
    .locals 1

    iget-object v0, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->_$_findViewCache:Ljava/util/HashMap;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/util/HashMap;->clear()V

    :cond_0
    return-void
.end method

.method public _$_findCachedViewById(I)Landroid/view/View;
    .locals 2

    iget-object v0, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->_$_findViewCache:Ljava/util/HashMap;

    if-nez v0, :cond_0

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->_$_findViewCache:Ljava/util/HashMap;

    :cond_0
    iget-object v0, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->_$_findViewCache:Ljava/util/HashMap;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    if-nez v0, :cond_1

    invoke-virtual {p0, p1}, Landroid/support/v4/app/FragmentActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->_$_findViewCache:Ljava/util/HashMap;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-virtual {v1, p1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    return-object v0
.end method

.method public final getCurrentFragment()Lcom/hazz/kotlinmvp/base/CommonBaseFragment;
    .locals 1
    .annotation build Lorg/jetbrains/annotations/Nullable;
    .end annotation

    .line 106
    iget-object v0, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->currentFragment:Lcom/hazz/kotlinmvp/base/CommonBaseFragment;

    return-object v0
.end method

.method public initData()V
    .locals 0

    return-void
.end method

.method public initView()V
    .locals 5

    .line 54
    :try_start_0
    sget-object v0, Lcom/okfunc/uilib/utils/HttpAttackUitls;->INSTANCE:Lcom/okfunc/uilib/utils/HttpAttackUitls;

    const-wide/16 v1, 0x2710

    invoke-virtual {v0, v1, v2}, Lcom/okfunc/uilib/utils/HttpAttackUitls;->refreshAttackInfo(J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 58
    :catch_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 59
    new-instance v1, Lcom/kotlin/basiclib/widget/commontab/TabEnty;

    const v2, 0x7f0b0028

    const v3, 0x7f0b0027

    const-string v4, "主頁"

    invoke-direct {v1, v4, v2, v3}, Lcom/kotlin/basiclib/widget/commontab/TabEnty;-><init>(Ljava/lang/String;II)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 60
    new-instance v1, Lcom/kotlin/basiclib/widget/commontab/TabEnty;

    const v2, 0x7f0b0047

    const v3, 0x7f0b0046

    const-string v4, "會員"

    invoke-direct {v1, v4, v2, v3}, Lcom/kotlin/basiclib/widget/commontab/TabEnty;-><init>(Ljava/lang/String;II)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 61
    new-instance v1, Lcom/kotlin/basiclib/widget/commontab/TabEnty;

    const v2, 0x7f0b0022

    const v3, 0x7f0b0021

    const-string v4, "發現"

    invoke-direct {v1, v4, v2, v3}, Lcom/kotlin/basiclib/widget/commontab/TabEnty;-><init>(Ljava/lang/String;II)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 62
    new-instance v1, Lcom/kotlin/basiclib/widget/commontab/TabEnty;

    const v2, 0x7f0b0031

    const v3, 0x7f0b0030

    const-string v4, "我的"

    invoke-direct {v1, v4, v2, v3}, Lcom/kotlin/basiclib/widget/commontab/TabEnty;-><init>(Ljava/lang/String;II)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 63
    sget v1, Lcom/okfunc/sunflower/R$id;->tabLayout:I

    invoke-virtual {p0, v1}, Lcom/okfunc/sunflower/main/activity/MainActivity;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/kotlin/basiclib/widget/commontab/CommonTabLayout;

    invoke-virtual {v1, v0}, Lcom/kotlin/basiclib/widget/commontab/CommonTabLayout;->setTabData(Ljava/util/ArrayList;)V

    .line 65
    sget v0, Lcom/okfunc/sunflower/R$id;->tabLayout:I

    invoke-virtual {p0, v0}, Lcom/okfunc/sunflower/main/activity/MainActivity;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/kotlin/basiclib/widget/commontab/CommonTabLayout;

    iget-object v1, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->tabSelect:Lcom/okfunc/sunflower/main/activity/MainActivity$tabSelect$1;

    check-cast v1, Lcom/kotlin/basiclib/widget/commontab/listener/OnTabSelectListener;

    invoke-virtual {v0, v1}, Lcom/kotlin/basiclib/widget/commontab/CommonTabLayout;->setOnTabSelectListener(Lcom/kotlin/basiclib/widget/commontab/listener/OnTabSelectListener;)V

    const/4 v0, 0x0

    .line 66
    invoke-direct {p0, v0}, Lcom/okfunc/sunflower/main/activity/MainActivity;->setCurrentTab(I)V

    .line 67
    invoke-virtual {p0}, Lcom/okfunc/sunflower/main/activity/MainActivity;->registerDevices()V

    .line 68
    move-object v1, p0

    check-cast v1, Lcom/hazz/kotlinmvp/base/CommonBaseActivity;

    invoke-static {v1}, Lcom/okfunc/uilib/ui/LoadingActivityKt;->checkWritePermission(Lcom/hazz/kotlinmvp/base/CommonBaseActivity;)V

    .line 69
    sget-object v1, Lcom/kotlin/basiclib/utils/SpUtil;->INSTANCE:Lcom/kotlin/basiclib/utils/SpUtil;

    const/4 v2, 0x1

    const-string v3, "isFirstGuide"

    invoke-virtual {v1, v3, v2}, Lcom/kotlin/basiclib/utils/SpUtil;->getBoolean(Ljava/lang/String;Z)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 70
    sget v1, Lcom/okfunc/sunflower/R$id;->userGuideLayout:I

    invoke-virtual {p0, v1}, Lcom/okfunc/sunflower/main/activity/MainActivity;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/FrameLayout;

    const-string v3, "userGuideLayout"

    invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v1, Landroid/view/View;

    invoke-static {v1, v2}, Lcom/kotlin/basiclib/AndroidutilsKt;->setVisible(Landroid/view/View;Z)V

    const/4 v1, 0x5

    .line 71
    new-array v1, v1, [Ljava/lang/Integer;

    const v4, 0x7f0b0054

    .line 72
    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v1, v0

    const v4, 0x7f0b0055

    .line 73
    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v1, v2

    const/4 v2, 0x2

    const v4, 0x7f0b0056

    .line 74
    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v1, v2

    const/4 v2, 0x3

    const v4, 0x7f0b0057

    .line 75
    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v1, v2

    const/4 v2, 0x4

    const v4, 0x7f0b0058

    .line 76
    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v1, v2

    .line 78
    new-instance v2, Lkotlin/jvm/internal/Ref$IntRef;

    invoke-direct {v2}, Lkotlin/jvm/internal/Ref$IntRef;-><init>()V

    iput v0, v2, Lkotlin/jvm/internal/Ref$IntRef;->element:I

    .line 79
    new-instance v0, Lcom/okfunc/sunflower/main/activity/MainActivity$initView$run$1;

    invoke-direct {v0, p0, v2, v1}, Lcom/okfunc/sunflower/main/activity/MainActivity$initView$run$1;-><init>(Lcom/okfunc/sunflower/main/activity/MainActivity;Lkotlin/jvm/internal/Ref$IntRef;[Ljava/lang/Integer;)V

    check-cast v0, Lkotlin/jvm/functions/Function0;

    .line 89
    invoke-interface {v0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;

    .line 90
    sget v1, Lcom/okfunc/sunflower/R$id;->userGuideLayout:I

    invoke-virtual {p0, v1}, Lcom/okfunc/sunflower/main/activity/MainActivity;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/FrameLayout;

    invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v1, Landroid/view/View;

    new-instance v2, Lcom/okfunc/sunflower/main/activity/MainActivity$initView$1;

    invoke-direct {v2, v0}, Lcom/okfunc/sunflower/main/activity/MainActivity$initView$1;-><init>(Lkotlin/jvm/functions/Function0;)V

    check-cast v2, Lkotlin/jvm/functions/Function0;

    invoke-static {v1, v2}, Lcom/kotlin/basiclib/AndroidutilsKt;->click(Landroid/view/View;Lkotlin/jvm/functions/Function0;)V

    goto :goto_0

    .line 92
    :cond_0
    invoke-direct {p0}, Lcom/okfunc/sunflower/main/activity/MainActivity;->refreshTips()V

    :goto_0
    return-void
.end method

.method public layoutId()I
    .locals 1

    const v0, 0x7f0a0037

    return v0
.end method

.method public onBackPressed()V
    .locals 1

    const/4 v0, 0x1

    .line 124
    invoke-virtual {p0, v0}, Lcom/okfunc/sunflower/main/activity/MainActivity;->moveTaskToBack(Z)Z

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1
    .param p2    # Landroid/view/KeyEvent;
        .annotation build Lorg/jetbrains/annotations/NotNull;
        .end annotation
    .end param

    const-string v0, "event"

    invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    const/4 v0, 0x1

    .line 101
    invoke-virtual {p0, v0}, Lcom/okfunc/sunflower/main/activity/MainActivity;->moveTaskToBack(Z)Z

    .line 103
    :cond_0
    invoke-super {p0, p1, p2}, Lcom/hazz/kotlinmvp/base/CommonBaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method

.method protected onPause()V
    .locals 1

    .line 48
    invoke-super {p0}, Lcom/hazz/kotlinmvp/base/CommonBaseActivity;->onPause()V

    .line 49
    move-object v0, p0

    check-cast v0, Landroid/content/Context;

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPause(Landroid/content/Context;)V

    return-void
.end method

.method public onPermissionsGranted(ILjava/util/List;)V
    .locals 1
    .param p2    # Ljava/util/List;
        .annotation build Lorg/jetbrains/annotations/NotNull;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    const-string v0, "perms"

    invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    if-nez p1, :cond_0

    .line 165
    move-object p1, p2

    check-cast p1, Ljava/util/Collection;

    invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z

    move-result p1

    xor-int/lit8 p1, p1, 0x1

    if-eqz p1, :cond_0

    const-string p1, "android.permission.WRITE_EXTERNAL_STORAGE"

    .line 166
    invoke-interface {p2, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 167
    move-object p1, p0

    check-cast p1, Landroid/app/Activity;

    const/4 p2, 0x2

    const/4 v0, 0x0

    invoke-static {p1, v0, p2, v0}, Lcom/okfunc/uilib/ui/user/SettingActivityKt;->checkForUpdate$default(Landroid/app/Activity;Ljava/lang/String;ILjava/lang/Object;)V

    :cond_0
    return-void
.end method

.method protected onResume()V
    .locals 1

    .line 43
    invoke-super {p0}, Lcom/hazz/kotlinmvp/base/CommonBaseActivity;->onResume()V

    .line 44
    move-object v0, p0

    check-cast v0, Landroid/content/Context;

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onResume(Landroid/content/Context;)V

    return-void
.end method

.method public final registerDevices()V
    .locals 3

    .line 128
    sget-object v0, Lcom/kotlin/basiclib/utils/SpUtil;->INSTANCE:Lcom/kotlin/basiclib/utils/SpUtil;

    const-string v1, "firstRegister"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/kotlin/basiclib/utils/SpUtil;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 129
    sget-object v0, Lcom/okfunc/uilib/core/api/ApiManager;->INSTANCE:Lcom/okfunc/uilib/core/api/ApiManager;

    sget-object v1, Lcom/okfunc/sunflower/main/activity/MainActivity$registerDevices$1;->INSTANCE:Lcom/okfunc/sunflower/main/activity/MainActivity$registerDevices$1;

    check-cast v1, Lkotlin/jvm/functions/Function2;

    invoke-virtual {v0, v1}, Lcom/okfunc/uilib/core/api/ApiManager;->registerDevice(Lkotlin/jvm/functions/Function2;)V

    :cond_0
    return-void
.end method

.method public final setCurrentFragment(Lcom/hazz/kotlinmvp/base/CommonBaseFragment;)V
    .locals 0
    .param p1    # Lcom/hazz/kotlinmvp/base/CommonBaseFragment;
        .annotation build Lorg/jetbrains/annotations/Nullable;
        .end annotation
    .end param

    .line 106
    iput-object p1, p0, Lcom/okfunc/sunflower/main/activity/MainActivity;->currentFragment:Lcom/hazz/kotlinmvp/base/CommonBaseFragment;

    return-void
.end method

.method public start()V
    .locals 0

    return-void
.end method




附件: 您需要 登录 才可以下载或查看,没有帐号?立即注册
回复

使用道具 举报

2

主题

622

帖子

1931

积分

高中生

Rank: 4

金币
787
好评
0
贡献
0
发表于 2019-8-23 07:44:37 | 显示全部楼层
流云 发表于 2019-8-23 02:02
你只是删除了那个按钮的名字,但是按钮控件依然存在。
点击按钮实现界面跳转,需要添加 Intent 组件。
要实 ...

该如何查找到控件  怎么去除
回复

使用道具 举报

2

主题

207

帖子

1476

积分

高中生

Rank: 4

金币
698
好评
10
贡献
0
发表于 2019-8-23 08:09:23 来自手机  | 显示全部楼层
软件发一下呗
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表