]> git.ktnx.net Git - mobile-ledger.git/commitdiff
profile details fragment: move setup from onCreate to onActivityCreated
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 19 Dec 2019 20:05:56 +0000 (22:05 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 19 Dec 2019 20:05:56 +0000 (22:05 +0200)
this is what the docs suggest and it fixes a problem with the toolbar
title changing to from profile name to 'Profile details' when the screen
is rotated. This is because the title is set during the setup and onCreate
isn't necessarily run when the screen is rotated (contrary to
onActivityCreated which is re-run since the activity is re-created on
reconfiguration (of which screen rotation is an instance))


No differences found