android - Nested fragment is removed before parent fragment -


i'm using fragments simulate ios navigationcontroller. in activity, have 'navigation' , 'tab' bar, , container in present main content fragments. 'navigate' through application, fragments added stack slide-right-to-left animation. far good.

however, i'm experiencing issue when fragment has nested fragment (i'm using support library). when fragment-with-nested-fragment gets added, seems ok, whole fragment appears right left expected. when go back, nested fragment gets removed before parent fragment gets animated right disappear.

i'm guessing has android calling nested fragment onstop method before parent's. may doing wrong or expected behavior? if is, there way change it?


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -