217 lines
		
	
	
		
			5.0 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			217 lines
		
	
	
		
			5.0 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Lpb/n0;
 | |
| .super Landroidx/recyclerview/widget/RecyclerView$Adapter;
 | |
| .source "TmapMainSearchAddressGridAdapter.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Lpb/n0$a;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public a:Ljava/util/List;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/List<",
 | |
|             "Lcom/skt/tmap/network/ndds/dto/info/PoiAreaCodesInfo;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public b:Lcom/skt/tmap/mvp/fragment/TmapMainSearchAddressFragment$m;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Lcom/skt/tmap/mvp/fragment/TmapMainSearchAddressFragment$m;)V
 | |
|     .locals 0
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "callback"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lpb/n0;->b:Lcom/skt/tmap/mvp/fragment/TmapMainSearchAddressFragment$m;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public getItemCount()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lpb/n0;->a:Ljava/util/List;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     invoke-interface {v0}, Ljava/util/List;->size()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public k()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lpb/n0;->a:Ljava/util/List;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-interface {v0}, Ljava/util/List;->clear()V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public l(Ljava/util/List;)V
 | |
|     .locals 0
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x10
 | |
|         }
 | |
|         names = {
 | |
|             "items"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Ljava/util/List<",
 | |
|             "Lcom/skt/tmap/network/ndds/dto/info/PoiAreaCodesInfo;",
 | |
|             ">;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lpb/n0;->a:Ljava/util/List;
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$a0;I)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroidx/recyclerview/widget/RecyclerView$a0;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0,
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "holder",
 | |
|             "position"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     check-cast p1, Lpb/n0$a;
 | |
| 
 | |
|     iget-object v0, p1, Lpb/n0$a;->a:Llb/c1;
 | |
| 
 | |
|     iget-object v1, p0, Lpb/n0;->a:Ljava/util/List;
 | |
| 
 | |
|     invoke-interface {v1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     check-cast v1, Lcom/skt/tmap/network/ndds/dto/info/PoiAreaCodesInfo;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Llb/c1;->m1(Lcom/skt/tmap/network/ndds/dto/info/PoiAreaCodesInfo;)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p1, Lpb/n0$a;->a:Llb/c1;
 | |
| 
 | |
|     invoke-virtual {v0, p2}, Llb/c1;->n1(I)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p1, Lpb/n0$a;->a:Llb/c1;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroidx/databinding/ViewDataBinding;->r()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$a0;
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/view/ViewGroup;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0,
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "parent",
 | |
|             "viewType"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     const v0, 0x7f0d00fb
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-static {p2, v0, p1, v1}, Landroidx/databinding/h;->j(Landroid/view/LayoutInflater;ILandroid/view/ViewGroup;Z)Landroidx/databinding/ViewDataBinding;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     check-cast p1, Llb/c1;
 | |
| 
 | |
|     .line 2
 | |
|     iget-object p2, p0, Lpb/n0;->b:Lcom/skt/tmap/mvp/fragment/TmapMainSearchAddressFragment$m;
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Llb/c1;->l1(Lcom/skt/tmap/mvp/fragment/TmapMainSearchAddressFragment$m;)V
 | |
| 
 | |
|     .line 3
 | |
|     new-instance p2, Lpb/n0$a;
 | |
| 
 | |
|     invoke-direct {p2, p1}, Lpb/n0$a;-><init>(Llb/c1;)V
 | |
| 
 | |
|     return-object p2
 | |
| .end method
 |