73 lines
2.6 KiB
Smali
73 lines
2.6 KiB
Smali
.class final Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView$1;
|
|
.super Ljava/lang/Object;
|
|
.source "BottomNavigationMenuView.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic aIe:Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView$1;->aIe:Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onClick(Landroid/view/View;)V
|
|
.locals 3
|
|
|
|
check-cast p1, Lcom/google/android/material/bottomnavigation/BottomNavigationItemView;
|
|
|
|
invoke-virtual {p1}, Lcom/google/android/material/bottomnavigation/BottomNavigationItemView;->getItemData()Landroidx/appcompat/view/menu/MenuItemImpl;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView$1;->aIe:Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView;
|
|
|
|
invoke-static {v0}, Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView;->access$100(Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView;)Landroidx/appcompat/view/menu/MenuBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView$1;->aIe:Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView;
|
|
|
|
invoke-static {v1}, Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView;->access$000(Lcom/google/android/material/bottomnavigation/BottomNavigationMenuView;)Lcom/google/android/material/bottomnavigation/BottomNavigationPresenter;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {v0, p1, v1, v2}, Landroidx/appcompat/view/menu/MenuBuilder;->performItemAction(Landroid/view/MenuItem;Landroidx/appcompat/view/menu/MenuPresenter;I)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-interface {p1, v0}, Landroid/view/MenuItem;->setChecked(Z)Landroid/view/MenuItem;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|