I was fixated on the situation for resuming my fragment when I return from another fragment.
Scenario:
I have one Fragment A. Now I open a few fragments, in Fragment Asaying: A1, A2, A3 ...using the frame layout.
Fragment A
A1, A2, A3 ...
Now I initiate a new fragment, say Fragment Bfrom one of A1 / A2 / A3 ...
Fragment B
I am doing some kind of action on Fragment B, and now when I exit mine Fragment B, then I cannot get onResume () fromFragment A
Just need to get onResume () while I get back from Fragment B
Any help needs this!
Highly appreciated!
Thank.
A1, A2, A3 childfragment A B .
: . , getChildFragmentManager() getSupportFragmentManager().
, A1, A2 A3, getChildFragmentManager(), B getSupportFragmentManager(). , B, onResume callback A.
B, : addToBackstack (null); , B A.
Source: https://habr.com/ru/post/1599274/More articles:WC team on Linux - linuxSequential Procedures in Lisp - functional-programmingHow to associate action with tkinter tree title in python? - pythonHow to send a push notification to Apple Watch? - iosОтображать локальное уведомление iPhone в Apple Watch - iosWhy am I getting java.lang.NoSuchMethodError: createImageUsingNativeSize error in 1.8.0_45 - javaInstanceID and Regid GCM - androidhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1599277/how-to-write-quotes-or-and-quoted-strings-to-a-razor-view&usg=ALkJrhhEgkY6XcxqnvwMFi3nPeAOcr98BgQt QCompleter can not set its size? - c ++Нужно ли мне знать код алгоритма, чтобы использовать вставки и перемещать итераторы? - c++All Articles