com.arellomobile.mvp.MvpDelegate.class Maven / Gradle / Ivy
???? 3
D ? ? ? ? ? ?
? ? ?
? ? ? ? ?
? ? ? ? ? ?
?
? ?
?
? ? ?
? ?
?
? ?
?
? ?
? ?
? ? ? ? ? ? ? ? ? ?
' ? ? ? ?
' ?
?
' ?
?
' ?
?
? ?
? ?
? ?
' ? ? ?
' ?
' ?
? ?
' ?
?
?
?
?
D ?
? ?
? ?
D ? ?
? ? ? KEY_TAG Ljava/lang/String;
ConstantValue mKeyTag mDelegateTag
mDelegated Ljava/lang/Object; Signature TDelegated; mIsAttached Z mParentDelegate "Lcom/arellomobile/mvp/MvpDelegate; mPresenters Ljava/util/List; CLjava/util/List;>; mChildDelegates 4Ljava/util/List; mBundle Landroid/os/Bundle; mChildKeyTagsBundle (Ljava/lang/Object;)V Code LineNumberTable LocalVariableTable this delegated LocalVariableTypeTable /Lcom/arellomobile/mvp/MvpDelegate; (TDelegated;)V setParentDelegate 7(Lcom/arellomobile/mvp/MvpDelegate;Ljava/lang/String;)V delegate childId
StackMapTable addChildDelegate %(Lcom/arellomobile/mvp/MvpDelegate;)V onCreate ()V bundle ? (Landroid/os/Bundle;)V
childDelegate ? ? onAttach presenter #Lcom/arellomobile/mvp/MvpPresenter; 1Lcom/arellomobile/mvp/MvpPresenter<-TDelegated;>; %Lcom/arellomobile/mvp/MvpDelegate<*>; ? onDetach
onDestroyView onDestroy
isRejected presentersCounter (Lcom/arellomobile/mvp/PresentersCounter; presenterStore %Lcom/arellomobile/mvp/PresenterStore; &Lcom/arellomobile/mvp/MvpPresenter<*>; ? ? onSaveInstanceState outState getChildrenSaveState ()Landroid/os/Bundle; generateTag ()Ljava/lang/String; 0Ljava/lang/Object;
SourceFile MvpDelegate.java Z l com/arellomobile/mvp/MvpDelegate (com.arellomobile.mvp.MvpDelegate.KEY_TAG H F J K java/util/ArrayList U S android/os/Bundle Y X W X java/lang/IllegalStateException ;You should call setParentDelegate() before first onCreate() Z ? ? ? ? FYou could not set parent delegate when it already has child presenters P Q java/lang/StringBuilder ? ? $ ? ? i j ? ? k o N O ? ? ? ? I F ? ? ? ? ? ? ? ? ? ? R S ? ? ? ? ? ? ? !com/arellomobile/mvp/MvpPresenter ? ? ? ? ? com/arellomobile/mvp/MvpView ? ? s l ? ? y l ? ? z l ? ? ? ? ? ? ?
{ l ? o o
? ? java/lang/Object java/util/Iterator &com/arellomobile/mvp/PresentersCounter #com/arellomobile/mvp/PresenterStore (Ljava/lang/String;)V java/util/List size ()I append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString add (Ljava/lang/Object;)Z containsKey (Ljava/lang/String;)Z getString &(Ljava/lang/String;)Ljava/lang/String; com/arellomobile/mvp/MvpFacade getInstance "()Lcom/arellomobile/mvp/MvpFacade; getMvpProcessor %()Lcom/arellomobile/mvp/MvpProcessor; !com/arellomobile/mvp/MvpProcessor getMvpPresenters 6(Ljava/lang/Object;Ljava/lang/String;)Ljava/util/List; iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; getAttachedViews ()Ljava/util/Set;
java/util/Set contains
attachView !(Lcom/arellomobile/mvp/MvpView;)V
detachView destroyView getPresentersCounter *()Lcom/arellomobile/mvp/PresentersCounter; getPresenterStore '()Lcom/arellomobile/mvp/PresenterStore; rejectPresenter 8(Lcom/arellomobile/mvp/MvpPresenter;Ljava/lang/String;)Z getPresenterType 0()Lcom/arellomobile/mvp/presenter/PresenterType; ,com/arellomobile/mvp/presenter/PresenterType GLOBAL .Lcom/arellomobile/mvp/presenter/PresenterType; getTag getPresenterClass ()Ljava/lang/Class; remove v(Lcom/arellomobile/mvp/presenter/PresenterType;Ljava/lang/String;Ljava/lang/Class;)Lcom/arellomobile/mvp/MvpPresenter; putAll putString '(Ljava/lang/String;Ljava/lang/String;)V getClass java/lang/Class getName
getSimpleName java/lang/String replace D(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; ! D
E F G H F I F J K L M N O P Q R S L T U S L V W X Y X
Z [ \ ? &*? *? *+? *? Y? ? *? Y?
? ? ] . $
/ 0 1 % 2 ^ &