Weather/smali_classes2/com/moji/mjweather/feed/ChannelManageActivity$1.smali
2021-05-10 10:13:34 +02:00

67 lines
1.6 KiB
Smali

.class Lcom/moji/mjweather/feed/ChannelManageActivity$1;
.super Landroid/support/v7/widget/GridLayoutManager$SpanSizeLookup;
.source "ChannelManageActivity.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/moji/mjweather/feed/ChannelManageActivity;->e()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic b:Lcom/moji/mjweather/feed/ChannelManageActivity;
# direct methods
.method constructor <init>(Lcom/moji/mjweather/feed/ChannelManageActivity;)V
.locals 0
.line 71
iput-object p1, p0, Lcom/moji/mjweather/feed/ChannelManageActivity$1;->b:Lcom/moji/mjweather/feed/ChannelManageActivity;
invoke-direct {p0}, Landroid/support/v7/widget/GridLayoutManager$SpanSizeLookup;-><init>()V
return-void
.end method
# virtual methods
.method public a(I)I
.locals 3
.line 74
iget-object v0, p0, Lcom/moji/mjweather/feed/ChannelManageActivity$1;->b:Lcom/moji/mjweather/feed/ChannelManageActivity;
invoke-static {v0}, Lcom/moji/mjweather/feed/ChannelManageActivity;->a(Lcom/moji/mjweather/feed/ChannelManageActivity;)Lcom/moji/mjweather/feed/adapter/ChannelAdapter;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/moji/mjweather/feed/adapter/ChannelAdapter;->a(I)I
move-result p1
const/4 v0, 0x4
const/4 v1, 0x1
if-eq p1, v1, :cond_0
const/4 v2, 0x3
if-eq p1, v2, :cond_0
if-ne p1, v0, :cond_1
:cond_0
const/4 v0, 0x1
:cond_1
return v0
.end method