106 lines
4.1 KiB
Smali
106 lines
4.1 KiB
Smali
.class final Lcom/google/android/material/bottomnavigation/BottomNavigationView$1;
|
|
.super Ljava/lang/Object;
|
|
.source "BottomNavigationView.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/appcompat/view/menu/MenuBuilder$Callback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/google/android/material/bottomnavigation/BottomNavigationView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic aJr:Lcom/google/android/material/bottomnavigation/BottomNavigationView;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/google/android/material/bottomnavigation/BottomNavigationView;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/google/android/material/bottomnavigation/BottomNavigationView$1;->aJr:Lcom/google/android/material/bottomnavigation/BottomNavigationView;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onMenuItemSelected(Landroidx/appcompat/view/menu/MenuBuilder;Landroid/view/MenuItem;)Z
|
|
.locals 2
|
|
|
|
iget-object p1, p0, Lcom/google/android/material/bottomnavigation/BottomNavigationView$1;->aJr:Lcom/google/android/material/bottomnavigation/BottomNavigationView;
|
|
|
|
invoke-static {p1}, Lcom/google/android/material/bottomnavigation/BottomNavigationView;->access$000(Lcom/google/android/material/bottomnavigation/BottomNavigationView;)Lcom/google/android/material/bottomnavigation/BottomNavigationView$OnNavigationItemReselectedListener;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-interface {p2}, Landroid/view/MenuItem;->getItemId()I
|
|
|
|
move-result p1
|
|
|
|
iget-object v1, p0, Lcom/google/android/material/bottomnavigation/BottomNavigationView$1;->aJr:Lcom/google/android/material/bottomnavigation/BottomNavigationView;
|
|
|
|
invoke-virtual {v1}, Lcom/google/android/material/bottomnavigation/BottomNavigationView;->getSelectedItemId()I
|
|
|
|
move-result v1
|
|
|
|
if-ne p1, v1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/google/android/material/bottomnavigation/BottomNavigationView$1;->aJr:Lcom/google/android/material/bottomnavigation/BottomNavigationView;
|
|
|
|
invoke-static {p1}, Lcom/google/android/material/bottomnavigation/BottomNavigationView;->access$000(Lcom/google/android/material/bottomnavigation/BottomNavigationView;)Lcom/google/android/material/bottomnavigation/BottomNavigationView$OnNavigationItemReselectedListener;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1, p2}, Lcom/google/android/material/bottomnavigation/BottomNavigationView$OnNavigationItemReselectedListener;->onNavigationItemReselected(Landroid/view/MenuItem;)V
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/google/android/material/bottomnavigation/BottomNavigationView$1;->aJr:Lcom/google/android/material/bottomnavigation/BottomNavigationView;
|
|
|
|
invoke-static {p1}, Lcom/google/android/material/bottomnavigation/BottomNavigationView;->access$100(Lcom/google/android/material/bottomnavigation/BottomNavigationView;)Lcom/google/android/material/bottomnavigation/BottomNavigationView$OnNavigationItemSelectedListener;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p0, Lcom/google/android/material/bottomnavigation/BottomNavigationView$1;->aJr:Lcom/google/android/material/bottomnavigation/BottomNavigationView;
|
|
|
|
invoke-static {p1}, Lcom/google/android/material/bottomnavigation/BottomNavigationView;->access$100(Lcom/google/android/material/bottomnavigation/BottomNavigationView;)Lcom/google/android/material/bottomnavigation/BottomNavigationView$OnNavigationItemSelectedListener;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1, p2}, Lcom/google/android/material/bottomnavigation/BottomNavigationView$OnNavigationItemSelectedListener;->onNavigationItemSelected(Landroid/view/MenuItem;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final onMenuModeChange(Landroidx/appcompat/view/menu/MenuBuilder;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|