You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
179 lines
4.6 KiB
179 lines
4.6 KiB
2 years ago
|
.class public Lcom/viatech/community/UserNoticeMessageActivity;
|
||
|
.super Landroid/app/Activity;
|
||
|
.source "UserNoticeMessageActivity.java"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private a:Landroid/support/v7/widget/RecyclerView;
|
||
|
|
||
|
.field private b:Landroid/os/Handler;
|
||
|
|
||
|
.field private c:Landroid/widget/RelativeLayout;
|
||
|
|
||
|
.field private d:Landroid/widget/TextView;
|
||
|
|
||
|
.field private e:Landroid/widget/TextView;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 22
|
||
|
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
|
||
|
|
||
|
.line 25
|
||
|
new-instance v0, Landroid/os/Handler;
|
||
|
|
||
|
invoke-direct {v0}, Landroid/os/Handler;-><init>()V
|
||
|
|
||
|
iput-object v0, p0, Lcom/viatech/community/UserNoticeMessageActivity;->b:Landroid/os/Handler;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private a()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 46
|
||
|
invoke-direct {p0}, Lcom/viatech/community/UserNoticeMessageActivity;->b()V
|
||
|
|
||
|
.line 47
|
||
|
invoke-direct {p0}, Lcom/viatech/community/UserNoticeMessageActivity;->c()V
|
||
|
|
||
|
.line 48
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private b()V
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 51
|
||
|
invoke-virtual {p0}, Lcom/viatech/community/UserNoticeMessageActivity;->getActionBar()Landroid/app/ActionBar;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 52
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 53
|
||
|
invoke-virtual {v0}, Landroid/app/ActionBar;->hide()V
|
||
|
|
||
|
.line 55
|
||
|
:cond_0
|
||
|
const v0, 0x7f0c00a4
|
||
|
|
||
|
invoke-virtual {p0, v0}, Lcom/viatech/community/UserNoticeMessageActivity;->findViewById(I)Landroid/view/View;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroid/widget/RelativeLayout;
|
||
|
|
||
|
iput-object v0, p0, Lcom/viatech/community/UserNoticeMessageActivity;->c:Landroid/widget/RelativeLayout;
|
||
|
|
||
|
.line 56
|
||
|
const v0, 0x7f0c00a5
|
||
|
|
||
|
invoke-virtual {p0, v0}, Lcom/viatech/community/UserNoticeMessageActivity;->findViewById(I)Landroid/view/View;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroid/widget/TextView;
|
||
|
|
||
|
iput-object v0, p0, Lcom/viatech/community/UserNoticeMessageActivity;->d:Landroid/widget/TextView;
|
||
|
|
||
|
.line 57
|
||
|
const v0, 0x7f0c00a6
|
||
|
|
||
|
invoke-virtual {p0, v0}, Lcom/viatech/community/UserNoticeMessageActivity;->findViewById(I)Landroid/view/View;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroid/widget/TextView;
|
||
|
|
||
|
iput-object v0, p0, Lcom/viatech/community/UserNoticeMessageActivity;->e:Landroid/widget/TextView;
|
||
|
|
||
|
.line 58
|
||
|
iget-object v0, p0, Lcom/viatech/community/UserNoticeMessageActivity;->d:Landroid/widget/TextView;
|
||
|
|
||
|
new-instance v1, Lcom/viatech/community/UserNoticeMessageActivity$1;
|
||
|
|
||
|
invoke-direct {v1, p0}, Lcom/viatech/community/UserNoticeMessageActivity$1;-><init>(Lcom/viatech/community/UserNoticeMessageActivity;)V
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
||
|
|
||
|
.line 65
|
||
|
const v0, 0x7f0c00a8
|
||
|
|
||
|
invoke-virtual {p0, v0}, Lcom/viatech/community/UserNoticeMessageActivity;->findViewById(I)Landroid/view/View;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Landroid/support/v7/widget/RecyclerView;
|
||
|
|
||
|
iput-object v0, p0, Lcom/viatech/community/UserNoticeMessageActivity;->a:Landroid/support/v7/widget/RecyclerView;
|
||
|
|
||
|
.line 66
|
||
|
new-instance v0, Landroid/support/v7/widget/LinearLayoutManager;
|
||
|
|
||
|
invoke-direct {v0, p0}, Landroid/support/v7/widget/LinearLayoutManager;-><init>(Landroid/content/Context;)V
|
||
|
|
||
|
.line 67
|
||
|
iget-object v1, p0, Lcom/viatech/community/UserNoticeMessageActivity;->a:Landroid/support/v7/widget/RecyclerView;
|
||
|
|
||
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/RecyclerView;->setLayoutManager(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V
|
||
|
|
||
|
.line 69
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private c()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 73
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method protected onCreate(Landroid/os/Bundle;)V
|
||
|
.locals 1
|
||
|
.param p1 # Landroid/os/Bundle;
|
||
|
.annotation build Landroid/support/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
.prologue
|
||
|
.line 34
|
||
|
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
|
||
|
|
||
|
.line 35
|
||
|
const v0, 0x7f030023
|
||
|
|
||
|
invoke-virtual {p0, v0}, Lcom/viatech/community/UserNoticeMessageActivity;->setContentView(I)V
|
||
|
|
||
|
.line 36
|
||
|
invoke-direct {p0}, Lcom/viatech/community/UserNoticeMessageActivity;->a()V
|
||
|
|
||
|
.line 37
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method protected onPause()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 41
|
||
|
invoke-super {p0}, Landroid/app/Activity;->onPause()V
|
||
|
|
||
|
.line 42
|
||
|
invoke-virtual {p0}, Lcom/viatech/community/UserNoticeMessageActivity;->finish()V
|
||
|
|
||
|
.line 43
|
||
|
return-void
|
||
|
.end method
|