599 lines
17 KiB
Smali
599 lines
17 KiB
Smali
.class public Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;
|
|
.super Lcom/moji/viewcontrol/MJViewControl;
|
|
.source "AllergyTwoDayForcastView.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/moji/viewcontrol/MJViewControl<",
|
|
"Lcom/moji/http/allergy/bean/AllergyMainBean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private a:Landroid/widget/ImageView;
|
|
|
|
.field private b:Landroid/widget/TextView;
|
|
|
|
.field private c:Landroid/widget/TextView;
|
|
|
|
.field private d:Landroid/widget/ImageView;
|
|
|
|
.field private e:Landroid/widget/TextView;
|
|
|
|
.field private f:Landroid/widget/TextView;
|
|
|
|
.field private g:Landroid/widget/TextView;
|
|
|
|
.field private h:Landroid/widget/TextView;
|
|
|
|
.field private i:Landroid/widget/TextView;
|
|
|
|
.field private j:Landroid/widget/TextView;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 44
|
|
invoke-direct {p0, p1}, Lcom/moji/viewcontrol/MJViewControl;-><init>(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Ljava/lang/String;)Landroid/text/SpannableStringBuilder;
|
|
.locals 5
|
|
|
|
.line 103
|
|
new-instance v0, Landroid/text/SpannableStringBuilder;
|
|
|
|
invoke-direct {v0, p1}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V
|
|
|
|
.line 104
|
|
new-instance v1, Landroid/text/style/ForegroundColorSpan;
|
|
|
|
const v2, -0x99999a
|
|
|
|
invoke-direct {v1, v2}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
|
|
|
|
const/16 v2, 0x21
|
|
|
|
const/4 v3, 0x2
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-virtual {v0, v1, v4, v3, v2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
.line 105
|
|
new-instance v1, Landroid/text/style/ForegroundColorSpan;
|
|
|
|
const v4, -0x373738
|
|
|
|
invoke-direct {v1, v4}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {v0, v1, v3, p1, v2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected a(Lcom/moji/http/allergy/bean/AllergyMainBean;)V
|
|
.locals 16
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
.line 68
|
|
iget-object v2, v1, Lcom/moji/http/allergy/bean/AllergyMainBean;->mWeekForecast:Ljava/util/List;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lcom/moji/http/allergy/bean/AllergyMainBean$WeekForecast;
|
|
|
|
.line 69
|
|
iget-object v4, v1, Lcom/moji/http/allergy/bean/AllergyMainBean;->mWeekForecast:Ljava/util/List;
|
|
|
|
const/4 v5, 0x1
|
|
|
|
invoke-interface {v4, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lcom/moji/http/allergy/bean/AllergyMainBean$WeekForecast;
|
|
|
|
.line 71
|
|
iget-object v6, v0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->h:Landroid/widget/TextView;
|
|
|
|
const-string v7, "%s%s"
|
|
|
|
const/4 v8, 0x2
|
|
|
|
new-array v9, v8, [Ljava/lang/Object;
|
|
|
|
iget-object v10, v1, Lcom/moji/http/allergy/bean/AllergyMainBean;->cityName:Ljava/lang/String;
|
|
|
|
aput-object v10, v9, v3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v10
|
|
|
|
sget v11, Lpad/aqi/cnemc/com/mjallergymodule/R$string;->allergy_status:I
|
|
|
|
invoke-virtual {v10, v11}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
aput-object v10, v9, v5
|
|
|
|
invoke-static {v7, v9}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 73
|
|
invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;
|
|
|
|
move-result-object v6
|
|
|
|
.line 74
|
|
new-instance v7, Ljava/util/Date;
|
|
|
|
iget-wide v9, v2, Lcom/moji/http/allergy/bean/AllergyMainBean$WeekForecast;->pub_time:J
|
|
|
|
const-wide/16 v11, 0x3e8
|
|
|
|
mul-long v9, v9, v11
|
|
|
|
invoke-direct {v7, v9, v10}, Ljava/util/Date;-><init>(J)V
|
|
|
|
invoke-virtual {v6, v7}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V
|
|
|
|
.line 75
|
|
invoke-virtual {v6, v8}, Ljava/util/Calendar;->get(I)I
|
|
|
|
move-result v7
|
|
|
|
add-int/2addr v7, v5
|
|
|
|
const/4 v9, 0x5
|
|
|
|
.line 76
|
|
invoke-virtual {v6, v9}, Ljava/util/Calendar;->get(I)I
|
|
|
|
move-result v10
|
|
|
|
.line 77
|
|
new-instance v13, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v13, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v7, "/"
|
|
|
|
invoke-virtual {v13, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v13, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
.line 78
|
|
iget-object v10, v0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->i:Landroid/widget/TextView;
|
|
|
|
const-string v13, "%s%s"
|
|
|
|
new-array v14, v8, [Ljava/lang/Object;
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v15
|
|
|
|
sget v9, Lpad/aqi/cnemc/com/mjallergymodule/R$string;->today:I
|
|
|
|
invoke-virtual {v15, v9}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
aput-object v9, v14, v3
|
|
|
|
aput-object v7, v14, v5
|
|
|
|
invoke-static {v13, v14}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-direct {v0, v7}, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->a(Ljava/lang/String;)Landroid/text/SpannableStringBuilder;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v10, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 81
|
|
new-instance v7, Ljava/util/Date;
|
|
|
|
iget-wide v9, v4, Lcom/moji/http/allergy/bean/AllergyMainBean$WeekForecast;->pub_time:J
|
|
|
|
mul-long v9, v9, v11
|
|
|
|
invoke-direct {v7, v9, v10}, Ljava/util/Date;-><init>(J)V
|
|
|
|
invoke-virtual {v6, v7}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V
|
|
|
|
.line 82
|
|
invoke-virtual {v6, v8}, Ljava/util/Calendar;->get(I)I
|
|
|
|
move-result v7
|
|
|
|
add-int/2addr v7, v5
|
|
|
|
const/4 v9, 0x5
|
|
|
|
.line 83
|
|
invoke-virtual {v6, v9}, Ljava/util/Calendar;->get(I)I
|
|
|
|
move-result v6
|
|
|
|
.line 84
|
|
new-instance v9, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v9, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v7, "/"
|
|
|
|
invoke-virtual {v9, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v9, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
.line 85
|
|
iget-object v7, v0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->j:Landroid/widget/TextView;
|
|
|
|
const-string v9, "%s%s"
|
|
|
|
new-array v10, v8, [Ljava/lang/Object;
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v11
|
|
|
|
sget v12, Lpad/aqi/cnemc/com/mjallergymodule/R$string;->tomorrow:I
|
|
|
|
invoke-virtual {v11, v12}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v11
|
|
|
|
aput-object v11, v10, v3
|
|
|
|
aput-object v6, v10, v5
|
|
|
|
invoke-static {v9, v10}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-direct {v0, v6}, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->a(Ljava/lang/String;)Landroid/text/SpannableStringBuilder;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v7, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 88
|
|
iget-object v6, v0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->b:Landroid/widget/TextView;
|
|
|
|
iget v7, v2, Lcom/moji/http/allergy/bean/AllergyMainBean$WeekForecast;->incident:I
|
|
|
|
invoke-static {v7}, Lcom/moji/mjallergy/AllergyHelper;->a(I)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 89
|
|
iget-object v6, v0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->c:Landroid/widget/TextView;
|
|
|
|
const-string v7, "%s%s"
|
|
|
|
new-array v9, v8, [Ljava/lang/Object;
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v10
|
|
|
|
sget v11, Lpad/aqi/cnemc/com/mjallergymodule/R$string;->allergy_main_allergen:I
|
|
|
|
invoke-virtual {v10, v11}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
aput-object v10, v9, v3
|
|
|
|
iget v10, v2, Lcom/moji/http/allergy/bean/AllergyMainBean$WeekForecast;->allergy:I
|
|
|
|
invoke-static {v10}, Lcom/moji/mjallergy/AllergyHelper;->d(I)Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
aput-object v10, v9, v5
|
|
|
|
invoke-static {v7, v9}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 90
|
|
iget-object v6, v0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->e:Landroid/widget/TextView;
|
|
|
|
iget v7, v4, Lcom/moji/http/allergy/bean/AllergyMainBean$WeekForecast;->incident:I
|
|
|
|
invoke-static {v7}, Lcom/moji/mjallergy/AllergyHelper;->a(I)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 91
|
|
iget-object v6, v0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->f:Landroid/widget/TextView;
|
|
|
|
const-string v7, "%s%s"
|
|
|
|
new-array v8, v8, [Ljava/lang/Object;
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v9
|
|
|
|
sget v10, Lpad/aqi/cnemc/com/mjallergymodule/R$string;->allergy_main_allergen:I
|
|
|
|
invoke-virtual {v9, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
aput-object v9, v8, v3
|
|
|
|
iget v3, v4, Lcom/moji/http/allergy/bean/AllergyMainBean$WeekForecast;->allergy:I
|
|
|
|
invoke-static {v3}, Lcom/moji/mjallergy/AllergyHelper;->d(I)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v8, v5
|
|
|
|
invoke-static {v7, v8}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v6, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 92
|
|
iget-object v3, v0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->a:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v5
|
|
|
|
iget v2, v2, Lcom/moji/http/allergy/bean/AllergyMainBean$WeekForecast;->incident:I
|
|
|
|
invoke-static {v2}, Lcom/moji/mjallergy/AllergyHelper;->b(I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v5, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v3, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 93
|
|
iget-object v2, v0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->d:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v3
|
|
|
|
iget v4, v4, Lcom/moji/http/allergy/bean/AllergyMainBean$WeekForecast;->incident:I
|
|
|
|
invoke-static {v4}, Lcom/moji/mjallergy/AllergyHelper;->b(I)I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 95
|
|
iget-object v1, v1, Lcom/moji/http/allergy/bean/AllergyMainBean;->mDescription:Ljava/lang/String;
|
|
|
|
.line 96
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
const-string v2, "\n"
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
const-string v2, "\n"
|
|
|
|
const-string v3, ""
|
|
|
|
.line 97
|
|
invoke-virtual {v1, v2, v3}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 99
|
|
:cond_0
|
|
iget-object v2, v0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->g:Landroid/widget/TextView;
|
|
|
|
invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected getResLayoutId()I
|
|
.locals 1
|
|
|
|
.line 49
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$layout;->view_allery_twoday_forcast:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method protected synthetic onBindViewData(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 26
|
|
check-cast p1, Lcom/moji/http/allergy/bean/AllergyMainBean;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->a(Lcom/moji/http/allergy/bean/AllergyMainBean;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onCreatedView(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
.line 54
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$id;->tv_what_city:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->h:Landroid/widget/TextView;
|
|
|
|
.line 55
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$id;->tv_today_date:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->i:Landroid/widget/TextView;
|
|
|
|
.line 56
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$id;->tv_tomorrow_date:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->j:Landroid/widget/TextView;
|
|
|
|
.line 57
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$id;->today_allergy_icon:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->a:Landroid/widget/ImageView;
|
|
|
|
.line 58
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$id;->tv_today_allergy_status:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->b:Landroid/widget/TextView;
|
|
|
|
.line 59
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$id;->tv_today_allergen:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->c:Landroid/widget/TextView;
|
|
|
|
.line 60
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$id;->tomorrow_allergy_icon:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->d:Landroid/widget/ImageView;
|
|
|
|
.line 61
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$id;->tv_tomorrow_allergy_status:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->e:Landroid/widget/TextView;
|
|
|
|
.line 62
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$id;->tv_tomorrow_allergen:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->f:Landroid/widget/TextView;
|
|
|
|
.line 63
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$id;->tv_allergy_warn:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
iput-object p1, p0, Lcom/moji/mjallergy/viewcontrol/AllergyTwoDayForcastView;->g:Landroid/widget/TextView;
|
|
|
|
return-void
|
|
.end method
|