v1.smali

.class public Lje/v1;
.super Lje/u1;
.source "LoadingFooterItemBindingImpl.java"


# static fields
.field public static final e:Landroidx/databinding/ViewDataBinding$IncludedLayouts;
    .annotation build Landroidx/annotation/Nullable;
    .end annotation
.end field

.field public static final f:Landroid/util/SparseIntArray;
    .annotation build Landroidx/annotation/Nullable;
    .end annotation
.end field


# instance fields
.field public final b:Landroidx/constraintlayout/widget/ConstraintLayout;
    .annotation build Landroidx/annotation/NonNull;
    .end annotation
.end field

.field public final c:Lcom/shopee/android/base/roboto/widget/RobotoTextView;
    .annotation build Landroidx/annotation/NonNull;
    .end annotation
.end field

.field public d: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/v1;->e:Landroidx/databinding/ViewDataBinding$IncludedLayouts;

    sget-object v1, Lje/v1;->f:Landroid/util/SparseIntArray;

    const/4 v2, 0x2

    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/v1;-><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 7

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lje/u1;-><init>(Ljava/lang/Object;Landroid/view/View;I)V

    const-wide/16 v1, -0x1

    iput-wide v1, p0, Lje/v1;->d:J

    aget-object p1, p3, v0

    check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout;

    iput-object p1, p0, Lje/v1;->b:Landroidx/constraintlayout/widget/ConstraintLayout;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->setTag(Ljava/lang/Object;)V

    const/4 p1, 0x1

    aget-object p1, p3, p1

    check-cast p1, Lcom/shopee/android/base/roboto/widget/RobotoTextView;

    iput-object p1, p0, Lje/v1;->c:Lcom/shopee/android/base/roboto/widget/RobotoTextView;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    invoke-virtual {p0, p2}, Landroidx/databinding/ViewDataBinding;->setRootTag(Landroid/view/View;)V

    invoke-virtual {p0}, Lje/v1;->invalidateAll()V

    return-void
.end method


# virtual methods
.method public a(Lcom/shopee/foody/driver/ar/NotificationAdapter$State;)V
    .registers 6
    .param p1    # Lcom/shopee/foody/driver/ar/NotificationAdapter$State;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    iput-object p1, p0, Lje/u1;->a:Lcom/shopee/foody/driver/ar/NotificationAdapter$State;

    monitor-enter p0

    :try_start_3
    iget-wide v0, p0, Lje/v1;->d:J

    const-wide/16 v2, 0x1

    or-long/2addr v0, v2

    iput-wide v0, p0, Lje/v1;->d:J

    monitor-exit p0
    :try_end_b
    .catchall {:try_start_3 .. :try_end_b} :catchall_14

    const/16 p1, 0x14

    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 12

    monitor-enter p0

    :try_start_1
    iget-wide v0, p0, Lje/v1;->d:J

    const-wide/16 v2, 0x0

    iput-wide v2, p0, Lje/v1;->d:J

    monitor-exit p0
    :try_end_8
    .catchall {:try_start_1 .. :try_end_8} :catchall_4e

    const/4 v4, 0x0

    iget-object v5, p0, Lje/u1;->a:Lcom/shopee/foody/driver/ar/NotificationAdapter$State;

    const-wide/16 v6, 0x3

    and-long v8, v0, v6

    cmp-long v10, v8, v2

    if-eqz v10, :cond_43

    sget-object v4, Lcom/shopee/foody/driver/ar/NotificationAdapter$State;->ERROR:Lcom/shopee/foody/driver/ar/NotificationAdapter$State;

    if-ne v5, v4, :cond_19

    const/4 v4, 0x1

    goto :goto_1a

    :cond_19
    const/4 v4, 0x0

    :goto_1a
    cmp-long v5, v8, v2

    if-eqz v5, :cond_26

    if-eqz v4, :cond_23

    const-wide/16 v8, 0x8

    goto :goto_25

    :cond_23
    const-wide/16 v8, 0x4

    :goto_25
    or-long/2addr v0, v8

    :cond_26
    if-eqz v4, :cond_32

    iget-object v4, p0, Lje/v1;->c:Lcom/shopee/android/base/roboto/widget/RobotoTextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f1101bc

    goto :goto_3f

    :cond_32
    iget-object v4, p0, Lje/v1;->c:Lcom/shopee/android/base/roboto/widget/RobotoTextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f110148

    invoke-static {v5}, Lnp/NPFog;->d(I)I

    move-result v5

    :goto_3f
    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v4

    :cond_43
    and-long/2addr v0, v6

    cmp-long v5, v0, v2

    if-eqz v5, :cond_4d

    iget-object v0, p0, Lje/v1;->c:Lcom/shopee/android/base/roboto/widget/RobotoTextView;

    invoke-static {v0, v4}, Landroidx/databinding/adapters/TextViewBindingAdapter;->setText(Landroid/widget/TextView;Ljava/lang/CharSequence;)V

    :cond_4d
    return-void

    :catchall_4e
    move-exception v0

    :try_start_4f
    monitor-exit p0
    :try_end_50
    .catchall {:try_start_4f .. :try_end_50} :catchall_4e

    throw v0
.end method

.method public hasPendingBindings()Z
    .registers 6

    monitor-enter p0

    :try_start_1
    iget-wide v0, p0, Lje/v1;->d: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/v1;->d: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, 0x14

    if-ne v0, p1, :cond_b

    check-cast p2, Lcom/shopee/foody/driver/ar/NotificationAdapter$State;

    invoke-virtual {p0, p2}, Lje/v1;->a(Lcom/shopee/foody/driver/ar/NotificationAdapter$State;)V

    const/4 p1, 0x1

    goto :goto_c

    :cond_b
    const/4 p1, 0x0

    :goto_c
    return p1
.end method