SHARE
TWEET

Untitled

a guest Apr 18th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class public final Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;
  2. .super Lcom/mentalhealth/ui/global/BaseFragment;
  3. .source "RegistrationAgeRangeFragment.kt"
  4.  
  5. # interfaces
  6. .implements Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangeView;
  7. .implements Lcom/mentalhealth/ui/global/FragmentBackButtonListener;
  8.  
  9.  
  10. # annotations
  11. .annotation system Ldalvik/annotation/SourceDebugExtension;
  12.     value = "SMAP\nRegistrationAgeRangeFragment.kt\nKotlin\n*S Kotlin\n*F\n+ 1 RegistrationAgeRangeFragment.kt\ncom/mentalhealth/ui/registration/RegistrationAgeRangeFragment\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,69:1\n1574#2,2:70\n*E\n*S KotlinDebug\n*F\n+ 1 RegistrationAgeRangeFragment.kt\ncom/mentalhealth/ui/registration/RegistrationAgeRangeFragment\n*L\n46#1,2:70\n*E\n"
  13. .end annotation
  14.  
  15. .annotation runtime Lkotlin/Metadata;
  16.     bv = {
  17.         0x1,
  18.         0x0,
  19.         0x3
  20.     }
  21.     d1 = {
  22.         "\u0000H\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0006\u0018\u00002\u00020\u00012\u00020\u00022\u00020\u0003B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0008\u0010\u0013\u001a\u00020\u0014H\u0016J\u0008\u0010\u0015\u001a\u00020\u0014H\u0016J\u001a\u0010\u0016\u001a\u00020\u00142\u0006\u0010\u0017\u001a\u00020\u00182\u0008\u0010\u0019\u001a\u0004\u0018\u00010\u001aH\u0016J\u0008\u0010\u001b\u001a\u00020\u000eH\u0007J\u001f\u0010\u001c\u001a\u00020\u00142\u0006\u0010\u001d\u001a\u00020\n2\u0008\u0010\u001e\u001a\u0004\u0018\u00010\nH\u0016\u00a2\u0006\u0002\u0010\u001fR\u001e\u0010\u0005\u001a\u0012\u0012\u0004\u0012\u00020\u00070\u0006j\u0008\u0012\u0004\u0012\u00020\u0007`\u0008X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\t\u001a\u00020\nX\u0096D\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000b\u0010\u000cR\u001e\u0010\r\u001a\u00020\u000e8\u0006@\u0006X\u0087.\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u000f\u0010\u0010\"\u0004\u0008\u0011\u0010\u0012\u00a8\u0006 "
  23.     }
  24.     d2 = {
  25.         "Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;",
  26.         "Lcom/mentalhealth/ui/global/BaseFragment;",
  27.         "Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangeView;",
  28.         "Lcom/mentalhealth/ui/global/FragmentBackButtonListener;",
  29.         "()V",
  30.         "ageRangeCells",
  31.         "Ljava/util/ArrayList;",
  32.         "Landroid/widget/TextView;",
  33.         "Lkotlin/collections/ArrayList;",
  34.         "layoutRes",
  35.         "",
  36.         "getLayoutRes",
  37.         "()I",
  38.         "presenter",
  39.         "Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;",
  40.         "getPresenter",
  41.         "()Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;",
  42.         "setPresenter",
  43.         "(Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;)V",
  44.         "onBackPressed",
  45.         "",
  46.         "onStop",
  47.         "onViewCreated",
  48.         "view",
  49.         "Landroid/view/View;",
  50.         "savedInstanceState",
  51.         "Landroid/os/Bundle;",
  52.         "providePresenter",
  53.         "selectButton",
  54.         "newIndex",
  55.         "oldIndex",
  56.         "(ILjava/lang/Integer;)V",
  57.         "app_debug"
  58.     }
  59.     k = 0x1
  60.     mv = {
  61.         0x1,
  62.         0x1,
  63.         0xd
  64.     }
  65. .end annotation
  66.  
  67.  
  68. # instance fields
  69. .field private _$_findViewCache:Ljava/util/HashMap;
  70.  
  71. .field private final ageRangeCells:Ljava/util/ArrayList;
  72.     .annotation system Ldalvik/annotation/Signature;
  73.         value = {
  74.             "Ljava/util/ArrayList<",
  75.             "Landroid/widget/TextView;",
  76.             ">;"
  77.         }
  78.     .end annotation
  79. .end field
  80.  
  81. .field private final layoutRes:I
  82.  
  83. .field public presenter:Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;
  84.     .annotation runtime Lcom/arellomobile/mvp/presenter/InjectPresenter;
  85.     .end annotation
  86.  
  87.     .annotation build Lorg/jetbrains/annotations/NotNull;
  88.     .end annotation
  89. .end field
  90.  
  91.  
  92. # direct methods
  93. .method public constructor <init>()V
  94.     .registers 2
  95.  
  96.     .line 16
  97.     nop
  98.  
  99.     .line 17
  100.     invoke-direct {p0}, Lcom/mentalhealth/ui/global/BaseFragment;-><init>()V
  101.  
  102.     .line 21
  103.     const v0, 0x7f0c0031
  104.  
  105.     iput v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->layoutRes:I
  106.  
  107.     .line 30
  108.     new-instance v0, Ljava/util/ArrayList;
  109.  
  110.     invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
  111.  
  112.     iput-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->ageRangeCells:Ljava/util/ArrayList;
  113.  
  114.     return-void
  115. .end method
  116.  
  117. .method public static final synthetic access$getAgeRangeCells$p(Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;)Ljava/util/ArrayList;
  118.     .registers 2
  119.     .param p0, "$this"    # Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;
  120.  
  121.     .line 16
  122.     iget-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->ageRangeCells:Ljava/util/ArrayList;
  123.  
  124.     return-object v0
  125. .end method
  126.  
  127.  
  128. # virtual methods
  129. .method public _$_clearFindViewByIdCache()V
  130.     .registers 2
  131.  
  132.     iget-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findViewCache:Ljava/util/HashMap;
  133.  
  134.     if-eqz v0, :cond_7
  135.  
  136.     invoke-virtual {v0}, Ljava/util/HashMap;->clear()V
  137.  
  138.     :cond_7
  139.     return-void
  140. .end method
  141.  
  142. .method public _$_findCachedViewById(I)Landroid/view/View;
  143.     .registers 4
  144.  
  145.     iget-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findViewCache:Ljava/util/HashMap;
  146.  
  147.     if-nez v0, :cond_b
  148.  
  149.     new-instance v0, Ljava/util/HashMap;
  150.  
  151.     invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
  152.  
  153.     iput-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findViewCache:Ljava/util/HashMap;
  154.  
  155.     :cond_b
  156.     iget-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findViewCache:Ljava/util/HashMap;
  157.  
  158.     invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
  159.  
  160.     move-result-object v1
  161.  
  162.     invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
  163.  
  164.     move-result-object v0
  165.  
  166.     check-cast v0, Landroid/view/View;
  167.  
  168.     if-nez v0, :cond_2e
  169.  
  170.     invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getView()Landroid/view/View;
  171.  
  172.     move-result-object v0
  173.  
  174.     if-nez v0, :cond_21
  175.  
  176.     const/4 p1, 0x0
  177.  
  178.     return-object p1
  179.  
  180.     :cond_21
  181.     invoke-virtual {v0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
  182.  
  183.     move-result-object v0
  184.  
  185.     iget-object v1, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findViewCache:Ljava/util/HashMap;
  186.  
  187.     invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
  188.  
  189.     move-result-object p1
  190.  
  191.     invoke-virtual {v1, p1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  192.  
  193.     :cond_2e
  194.     return-object v0
  195. .end method
  196.  
  197. .method public getLayoutRes()I
  198.     .registers 2
  199.  
  200.     .line 21
  201.     iget v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->layoutRes:I
  202.  
  203.     return v0
  204. .end method
  205.  
  206. .method public final getPresenter()Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;
  207.     .registers 3
  208.     .annotation build Lorg/jetbrains/annotations/NotNull;
  209.     .end annotation
  210.  
  211.     .line 24
  212.     iget-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->presenter:Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;
  213.  
  214.     if-nez v0, :cond_9
  215.  
  216.     const-string v1, "presenter"
  217.  
  218.     invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
  219.  
  220.     :cond_9
  221.     return-object v0
  222. .end method
  223.  
  224. .method public onBackPressed()V
  225.     .registers 3
  226.  
  227.     .line 67
  228.     iget-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->presenter:Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;
  229.  
  230.     if-nez v0, :cond_9
  231.  
  232.     const-string v1, "presenter"
  233.  
  234.     invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
  235.  
  236.     :cond_9
  237.     invoke-virtual {v0}, Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;->onBackPressed()V
  238.  
  239.     .line 68
  240.     return-void
  241. .end method
  242.  
  243. .method public synthetic onDestroyView()V
  244.     .registers 1
  245.  
  246.     invoke-super {p0}, Lcom/mentalhealth/ui/global/BaseFragment;->onDestroyView()V
  247.  
  248.     invoke-virtual {p0}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_clearFindViewByIdCache()V
  249.  
  250.     return-void
  251. .end method
  252.  
  253. .method public onStop()V
  254.     .registers 2
  255.  
  256.     .line 55
  257.     iget-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->ageRangeCells:Ljava/util/ArrayList;
  258.  
  259.     invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
  260.  
  261.     .line 57
  262.     invoke-super {p0}, Lcom/mentalhealth/ui/global/BaseFragment;->onStop()V
  263.  
  264.     .line 58
  265.     return-void
  266. .end method
  267.  
  268. .method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
  269.     .registers 11
  270.     .param p1, "view"    # Landroid/view/View;
  271.         .annotation build Lorg/jetbrains/annotations/NotNull;
  272.         .end annotation
  273.     .end param
  274.     .param p2, "savedInstanceState"    # Landroid/os/Bundle;
  275.         .annotation build Lorg/jetbrains/annotations/Nullable;
  276.         .end annotation
  277.     .end param
  278.  
  279.     const-string v0, "view"
  280.  
  281.     invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  282.  
  283.     .line 33
  284.     invoke-super {p0, p1, p2}, Lcom/mentalhealth/ui/global/BaseFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
  285.  
  286.     .line 35
  287.     sget v0, Lcom/mentalhealth/R$id;->tbRegistrationAgeRange:I
  288.  
  289.     invoke-virtual {p0, v0}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findCachedViewById(I)Landroid/view/View;
  290.  
  291.     move-result-object v0
  292.  
  293.     check-cast v0, Landroidx/appcompat/widget/Toolbar;
  294.  
  295.     new-instance v1, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment$onViewCreated$1;
  296.  
  297.     invoke-direct {v1, p0}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment$onViewCreated$1;-><init>(Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;)V
  298.  
  299.     check-cast v1, Landroid/view/View$OnClickListener;
  300.  
  301.     invoke-virtual {v0, v1}, Landroidx/appcompat/widget/Toolbar;->setNavigationOnClickListener(Landroid/view/View$OnClickListener;)V
  302.  
  303.     .line 36
  304.     sget v0, Lcom/mentalhealth/R$id;->btnRegistrationAgeRangeNext:I
  305.  
  306.     invoke-virtual {p0, v0}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findCachedViewById(I)Landroid/view/View;
  307.  
  308.     move-result-object v0
  309.  
  310.     check-cast v0, Landroid/widget/Button;
  311.  
  312.     new-instance v1, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment$onViewCreated$2;
  313.  
  314.     invoke-direct {v1, p0}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment$onViewCreated$2;-><init>(Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;)V
  315.  
  316.     check-cast v1, Landroid/view/View$OnClickListener;
  317.  
  318.     invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
  319.  
  320.     .line 37
  321.     sget v0, Lcom/mentalhealth/R$id;->btnRegistrationAgeRangeNext:I
  322.  
  323.     invoke-virtual {p0, v0}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findCachedViewById(I)Landroid/view/View;
  324.  
  325.     move-result-object v0
  326.  
  327.     check-cast v0, Landroid/widget/Button;
  328.  
  329.     const-string v1, "btnRegistrationAgeRangeNext"
  330.  
  331.     invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  332.  
  333.     const/4 v1, 0x0
  334.  
  335.     invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V
  336.  
  337.     .line 39
  338.     iget-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->ageRangeCells:Ljava/util/ArrayList;
  339.  
  340.     invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
  341.  
  342.     .line 40
  343.     sget v0, Lcom/mentalhealth/R$id;->glRegistrationChooseGenderButtonsContainer:I
  344.  
  345.     invoke-virtual {p0, v0}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findCachedViewById(I)Landroid/view/View;
  346.  
  347.     move-result-object v0
  348.  
  349.     check-cast v0, Landroid/widget/GridLayout;
  350.  
  351.     const-string v2, "glRegistrationChooseGenderButtonsContainer"
  352.  
  353.     invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  354.  
  355.     invoke-virtual {v0}, Landroid/widget/GridLayout;->getChildCount()I
  356.  
  357.     move-result v0
  358.  
  359.     const/4 v2, 0x0
  360.  
  361.     :goto_54
  362.     if-ge v2, v0, :cond_84
  363.  
  364.     .line 41
  365.     .local v2, "i":I
  366.     sget v3, Lcom/mentalhealth/R$id;->glRegistrationChooseGenderButtonsContainer:I
  367.  
  368.     invoke-virtual {p0, v3}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findCachedViewById(I)Landroid/view/View;
  369.  
  370.     move-result-object v3
  371.  
  372.     check-cast v3, Landroid/widget/GridLayout;
  373.  
  374.     invoke-virtual {v3, v2}, Landroid/widget/GridLayout;->getChildAt(I)Landroid/view/View;
  375.  
  376.     move-result-object v3
  377.  
  378.     if-eqz v3, :cond_7c
  379.  
  380.     check-cast v3, Landroid/widget/TextView;
  381.  
  382.     .line 42
  383.     .local v3, "button":Landroid/widget/TextView;
  384.     move-object v4, v3
  385.  
  386.     check-cast v4, Landroid/view/View;
  387.  
  388.     const v5, 0x7f0600fd
  389.  
  390.     const v6, 0x7f0600f9
  391.  
  392.     const/4 v7, 0x4
  393.  
  394.     invoke-static {v4, v5, v6, v7}, Lcom/mentalhealth/extensions/ExtensionsKt;->drawSquareView(Landroid/view/View;III)V
  395.  
  396.     .line 43
  397.     iget-object v4, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->ageRangeCells:Ljava/util/ArrayList;
  398.  
  399.     invoke-virtual {v4, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
  400.  
  401.     .line 40
  402.     .end local v3    # "button":Landroid/widget/TextView;
  403.     nop
  404.  
  405.     .end local v2    # "i":I
  406.     add-int/lit8 v2, v2, 0x1
  407.  
  408.     goto :goto_54
  409.  
  410.     .line 41
  411.     .restart local v2    # "i":I
  412.     :cond_7c
  413.     new-instance v0, Lkotlin/TypeCastException;
  414.  
  415.     const-string v1, "null cannot be cast to non-null type android.widget.TextView"
  416.  
  417.     invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
  418.  
  419.     throw v0
  420.  
  421.     .line 46
  422.     .end local v2    # "i":I
  423.     :cond_84
  424.     iget-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->ageRangeCells:Ljava/util/ArrayList;
  425.  
  426.     check-cast v0, Ljava/lang/Iterable;
  427.  
  428.     .local v0, "$receiver$iv":Ljava/lang/Iterable;
  429.     move v2, v1
  430.  
  431.     .line 70
  432.     .local v2, "$i$f$forEach":I
  433.     invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
  434.  
  435.     move-result-object v3
  436.  
  437.     :goto_8d
  438.     invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
  439.  
  440.     move-result v4
  441.  
  442.     if-eqz v4, :cond_a9
  443.  
  444.     invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
  445.  
  446.     move-result-object v4
  447.  
  448.     .local v4, "element$iv":Ljava/lang/Object;
  449.     move-object v5, v4
  450.  
  451.     check-cast v5, Landroid/widget/TextView;
  452.  
  453.     .local v5, "button":Landroid/widget/TextView;
  454.     const/4 v6, 0x0
  455.  
  456.     .line 47
  457.     .local v6, "$i$a$-forEach-RegistrationAgeRangeFragment$onViewCreated$3":I
  458.     invoke-virtual {v5, v1}, Landroid/widget/TextView;->setActivated(Z)V
  459.  
  460.     .line 48
  461.     new-instance v7, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment$onViewCreated$$inlined$forEach$lambda$1;
  462.  
  463.     invoke-direct {v7, v5, p0}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment$onViewCreated$$inlined$forEach$lambda$1;-><init>(Landroid/widget/TextView;Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;)V
  464.  
  465.     check-cast v7, Landroid/view/View$OnClickListener;
  466.  
  467.     invoke-virtual {v5, v7}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
  468.  
  469.     .line 51
  470.     .end local v5    # "button":Landroid/widget/TextView;
  471.     .end local v6    # "$i$a$-forEach-RegistrationAgeRangeFragment$onViewCreated$3":I
  472.     goto :goto_8d
  473.  
  474.     .line 71
  475.     .end local v4    # "element$iv":Ljava/lang/Object;
  476.     :cond_a9
  477.     nop
  478.  
  479.     .line 52
  480.     .end local v0    # "$receiver$iv":Ljava/lang/Iterable;
  481.     .end local v2    # "$i$f$forEach":I
  482.     return-void
  483. .end method
  484.  
  485. .method public final providePresenter()Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;
  486.     .registers 3
  487.     .annotation runtime Lcom/arellomobile/mvp/presenter/ProvidePresenter;
  488.     .end annotation
  489.  
  490.     .annotation build Lorg/jetbrains/annotations/NotNull;
  491.     .end annotation
  492.  
  493.     .line 28
  494.     invoke-virtual {p0}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->getScope()Ltoothpick/Scope;
  495.  
  496.     move-result-object v0
  497.  
  498.     const-class v1, Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;
  499.  
  500.     invoke-interface {v0, v1}, Ltoothpick/Scope;->getInstance(Ljava/lang/Class;)Ljava/lang/Object;
  501.  
  502.     move-result-object v0
  503.  
  504.     const-string v1, "scope.getInstance(Regist\u2026ngePresenter::class.java)"
  505.  
  506.     invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  507.  
  508.     check-cast v0, Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;
  509.  
  510.     return-object v0
  511. .end method
  512.  
  513. .method public selectButton(ILjava/lang/Integer;)V
  514.     .registers 7
  515.     .param p1, "newIndex"    # I
  516.     .param p2, "oldIndex"    # Ljava/lang/Integer;
  517.         .annotation build Lorg/jetbrains/annotations/Nullable;
  518.         .end annotation
  519.     .end param
  520.  
  521.     .line 61
  522.     if-eqz p2, :cond_1b
  523.  
  524.     move-object v0, p2
  525.  
  526.     check-cast v0, Ljava/lang/Number;
  527.  
  528.     invoke-virtual {v0}, Ljava/lang/Number;->intValue()I
  529.  
  530.     move-result v0
  531.  
  532.     .local v0, "it":I
  533.     const/4 v1, 0x0
  534.  
  535.     .local v1, "$i$a$-let-RegistrationAgeRangeFragment$selectButton$1":I
  536.     iget-object v2, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->ageRangeCells:Ljava/util/ArrayList;
  537.  
  538.     invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
  539.  
  540.     move-result-object v2
  541.  
  542.     const-string v3, "ageRangeCells[it]"
  543.  
  544.     invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  545.  
  546.     check-cast v2, Landroid/widget/TextView;
  547.  
  548.     const/4 v3, 0x0
  549.  
  550.     invoke-virtual {v2, v3}, Landroid/widget/TextView;->setActivated(Z)V
  551.  
  552.     .line 62
  553.     .end local v0    # "it":I
  554.     .end local v1    # "$i$a$-let-RegistrationAgeRangeFragment$selectButton$1":I
  555.     :cond_1b
  556.     iget-object v0, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->ageRangeCells:Ljava/util/ArrayList;
  557.  
  558.     invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
  559.  
  560.     move-result-object v0
  561.  
  562.     const-string v1, "ageRangeCells[newIndex]"
  563.  
  564.     invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  565.  
  566.     check-cast v0, Landroid/widget/TextView;
  567.  
  568.     const/4 v1, 0x1
  569.  
  570.     invoke-virtual {v0, v1}, Landroid/widget/TextView;->setActivated(Z)V
  571.  
  572.     .line 63
  573.     sget v0, Lcom/mentalhealth/R$id;->btnRegistrationAgeRangeNext:I
  574.  
  575.     invoke-virtual {p0, v0}, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->_$_findCachedViewById(I)Landroid/view/View;
  576.  
  577.     move-result-object v0
  578.  
  579.     check-cast v0, Landroid/widget/Button;
  580.  
  581.     const-string v2, "btnRegistrationAgeRangeNext"
  582.  
  583.     invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  584.  
  585.     invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V
  586.  
  587.     .line 64
  588.     return-void
  589. .end method
  590.  
  591. .method public final setPresenter(Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;)V
  592.     .registers 3
  593.     .param p1, "<set-?>"    # Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;
  594.         .annotation build Lorg/jetbrains/annotations/NotNull;
  595.         .end annotation
  596.     .end param
  597.  
  598.     const-string v0, "<set-?>"
  599.  
  600.     invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
  601.  
  602.     .line 24
  603.     iput-object p1, p0, Lcom/mentalhealth/ui/registration/RegistrationAgeRangeFragment;->presenter:Lcom/mentalhealth/presentation/registration/agerange/RegistrationAgeRangePresenter;
  604.  
  605.     return-void
  606. .end method
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top