x1.smali
.class public Lje/x1;
.super Lje/w1;
.source "NotificationItemBindingImpl.java"
# static fields
.field public static final g:Landroidx/databinding/ViewDataBinding$IncludedLayouts;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field public static final h:Landroid/util/SparseIntArray;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
# instance fields
.field public final e:Landroid/widget/LinearLayout;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
.field public f:J
# direct methods
.method public static constructor <clinit>()V
.registers 0
return-void
.end method
.method public constructor <init>(Landroidx/databinding/DataBindingComponent;Landroid/view/View;)V
.registers 6
.param p1 # Landroidx/databinding/DataBindingComponent;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
sget-object v0, Lje/x1;->g:Landroidx/databinding/ViewDataBinding$IncludedLayouts;
sget-object v1, Lje/x1;->h:Landroid/util/SparseIntArray;
const/4 v2, 0x4
invoke-static {p1, p2, v2, v0, v1}, Landroidx/databinding/ViewDataBinding;->mapBindings(Landroidx/databinding/DataBindingComponent;Landroid/view/View;ILandroidx/databinding/ViewDataBinding$IncludedLayouts;Landroid/util/SparseIntArray;)[Ljava/lang/Object;
move-result-object v0
invoke-direct {p0, p1, p2, v0}, Lje/x1;-><init>(Landroidx/databinding/DataBindingComponent;Landroid/view/View;[Ljava/lang/Object;)V
return-void
.end method
.method public constructor <init>(Landroidx/databinding/DataBindingComponent;Landroid/view/View;[Ljava/lang/Object;)V
.registers 12
const/4 v0, 0x2
aget-object v0, p3, v0
move-object v5, v0
check-cast v5, Lcom/shopee/android/base/roboto/widget/RobotoTextView;
const/4 v0, 0x3
aget-object v0, p3, v0
move-object v6, v0
check-cast v6, Lcom/shopee/android/base/roboto/widget/RobotoTextView;
const/4 v0, 0x1
aget-object v0, p3, v0
move-object v7, v0
check-cast v7, Lcom/shopee/android/base/roboto/widget/RobotoTextView;
const/4 v4, 0x0
move-object v1, p0
move-object v2, p1
move-object v3, p2
invoke-direct/range {v1 .. v7}, Lje/w1;-><init>(Ljava/lang/Object;Landroid/view/View;ILcom/shopee/android/base/roboto/widget/RobotoTextView;Lcom/shopee/android/base/roboto/widget/RobotoTextView;Lcom/shopee/android/base/roboto/widget/RobotoTextView;)V
const-wide/16 v0, -0x1
iput-wide v0, p0, Lje/x1;->f:J
const/4 p1, 0x0
aget-object p1, p3, p1
check-cast p1, Landroid/widget/LinearLayout;
iput-object p1, p0, Lje/x1;->e:Landroid/widget/LinearLayout;
const/4 p3, 0x0
invoke-virtual {p1, p3}, Landroid/widget/LinearLayout;->setTag(Ljava/lang/Object;)V
iget-object p1, p0, Lje/w1;->a:Lcom/shopee/android/base/roboto/widget/RobotoTextView;
invoke-virtual {p1, p3}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V
iget-object p1, p0, Lje/w1;->b:Lcom/shopee/android/base/roboto/widget/RobotoTextView;
invoke-virtual {p1, p3}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V
iget-object p1, p0, Lje/w1;->c:Lcom/shopee/android/base/roboto/widget/RobotoTextView;
invoke-virtual {p1, p3}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V
invoke-virtual {p0, p2}, Landroidx/databinding/ViewDataBinding;->setRootTag(Landroid/view/View;)V
invoke-virtual {p0}, Lje/x1;->invalidateAll()V
return-void
.end method
# virtual methods
.method public a(Lcom/shopee/app/proto/response/ActionContent;)V
.registers 6
.param p1 # Lcom/shopee/app/proto/response/ActionContent;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
iput-object p1, p0, Lje/w1;->d:Lcom/shopee/app/proto/response/ActionContent;
monitor-enter p0
:try_start_3
iget-wide v0, p0, Lje/x1;->f:J
const-wide/16 v2, 0x1
or-long/2addr v0, v2
iput-wide v0, p0, Lje/x1;->f:J
monitor-exit p0
:try_end_b
.catchall {:try_start_3 .. :try_end_b} :catchall_14
const/16 p1, 0x8
invoke-virtual {p0, p1}, Landroidx/databinding/BaseObservable;->notifyPropertyChanged(I)V
invoke-super {p0}, Landroidx/databinding/ViewDataBinding;->requestRebind()V
return-void
:catchall_14
move-exception p1
:try_start_15
monitor-exit p0
:try_end_16
.catchall {:try_start_15 .. :try_end_16} :catchall_14
throw p1
.end method
.method public executeBindings()V
.registers 11
monitor-enter p0
:try_start_1
iget-wide v0, p0, Lje/x1;->f:J
const-wide/16 v2, 0x0
iput-wide v2, p0, Lje/x1;->f:J
monitor-exit p0
:try_end_8
.catchall {:try_start_1 .. :try_end_8} :catchall_44
iget-object v4, p0, Lje/w1;->d:Lcom/shopee/app/proto/response/ActionContent;
const/4 v5, 0x0
const-wide/16 v6, 0x3
and-long/2addr v0, v6
const/4 v6, 0x0
cmp-long v7, v0, v2
if-eqz v7, :cond_2a
if-eqz v4, :cond_1f
iget-object v5, v4, Lcom/shopee/app/proto/response/ActionContent;->title:Lokio/ByteString;
iget-object v6, v4, Lcom/shopee/app/proto/response/ActionContent;->content:Lokio/ByteString;
iget-object v7, v4, Lcom/shopee/app/proto/response/ActionContent;->createtime:Ljava/lang/Integer;
move-object v9, v7
move-object v7, v6
move-object v6, v9
goto :goto_21
:cond_1f
move-object v5, v6
move-object v7, v5
:goto_21
invoke-static {v6}, Landroidx/databinding/ViewDataBinding;->safeUnbox(Ljava/lang/Integer;)I
move-result v6
move-object v9, v7
move-object v7, v5
move v5, v6
move-object v6, v9
goto :goto_2b
:cond_2a
move-object v7, v6
:goto_2b
cmp-long v8, v0, v2
if-eqz v8, :cond_43
iget-object v0, p0, Lje/x1;->e:Landroid/widget/LinearLayout;
invoke-static {v0, v4}, Lqk/b;->a(Landroid/view/ViewGroup;Lcom/shopee/app/proto/response/ActionContent;)V
iget-object v0, p0, Lje/w1;->a:Lcom/shopee/android/base/roboto/widget/RobotoTextView;
invoke-static {v0, v6}, Lqk/b;->a(Landroid/widget/TextView;Lokio/ByteString;)V
iget-object v0, p0, Lje/w1;->b:Lcom/shopee/android/base/roboto/widget/RobotoTextView;
invoke-static {v0, v5}, Lqk/b;->a(Landroid/widget/TextView;I)V
iget-object v0, p0, Lje/w1;->c:Lcom/shopee/android/base/roboto/widget/RobotoTextView;
invoke-static {v0, v7}, Lqk/b;->a(Landroid/widget/TextView;Lokio/ByteString;)V
:cond_43
return-void
:catchall_44
move-exception v0
:try_start_45
monitor-exit p0
:try_end_46
.catchall {:try_start_45 .. :try_end_46} :catchall_44
throw v0
.end method
.method public hasPendingBindings()Z
.registers 6
monitor-enter p0
:try_start_1
iget-wide v0, p0, Lje/x1;->f:J
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-eqz v4, :cond_c
const/4 v0, 0x1
monitor-exit p0
return v0
:cond_c
monitor-exit p0
const/4 v0, 0x0
return v0
:catchall_f
move-exception v0
monitor-exit p0
:try_end_11
.catchall {:try_start_1 .. :try_end_11} :catchall_f
throw v0
.end method
.method public invalidateAll()V
.registers 3
monitor-enter p0
const-wide/16 v0, 0x2
:try_start_3
iput-wide v0, p0, Lje/x1;->f:J
monitor-exit p0
:try_end_6
.catchall {:try_start_3 .. :try_end_6} :catchall_a
invoke-virtual {p0}, Landroidx/databinding/ViewDataBinding;->requestRebind()V
return-void
:catchall_a
move-exception v0
:try_start_b
monitor-exit p0
:try_end_c
.catchall {:try_start_b .. :try_end_c} :catchall_a
throw v0
.end method
.method public onFieldChange(ILjava/lang/Object;I)Z
.registers 4
const/4 p1, 0x0
return p1
.end method
.method public setVariable(ILjava/lang/Object;)Z
.registers 4
.param p1 # I
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
const/16 v0, 0x8
if-ne v0, p1, :cond_b
check-cast p2, Lcom/shopee/app/proto/response/ActionContent;
invoke-virtual {p0, p2}, Lje/x1;->a(Lcom/shopee/app/proto/response/ActionContent;)V
const/4 p1, 0x1
goto :goto_c
:cond_b
const/4 p1, 0x0
:goto_c
return p1
.end method