navigationcontroller
How to use shared element transitions in Navigation Controller
FirstFragment val extras = FragmentNavigatorExtras( imageView to “secondTransitionName”) view.findNavController().navigate(R.id.confirmationAction, null, // Bundle of args null, // NavOptions extras) first_fragment.xml <ImageView android:id=”@+id/imageView” android:transitionName=”firstTransitionName” … /> SecondFragment override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View { sharedElementEnterTransition = ChangeBounds().apply { duration = 750 } sharedElementReturnTransition= ChangeBounds().apply { duration = 750 } return inflater.inflate(R.layout.second_fragment, container, false) } … Read more
iOS how to remove back button?
You can do: [self.navigationItem setHidesBackButton:YES]; In your second view controller (the one you want to hide the button in).
iPhone UINavigation Issue – nested push animation can result in corrupted navigation bar
Calling pushViewController before viewDidAppear is unsafe.