]> git.ktnx.net Git - mobile-ledger.git/commit
move model instantiation from onAttach to onCreateView
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 30 Jan 2021 13:11:11 +0000 (15:11 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 30 Jan 2021 13:11:11 +0000 (15:11 +0200)
commit26f1c43b0fd7a13b0d0d88845dcf8d036b413934
treeff21a5e3738939128edc4ae62f4ddf6cb004f59e
parent35d94bacc2d15d86998d903246a2e9adc9fd63c4
move model instantiation from onAttach to onCreateView

parent activity may not be fully up in onAttach() and return a null
navigation controller, resulting in a crash upon reconfiguration
app/src/main/java/net/ktnx/mobileledger/ui/patterns/PatternDetailsFragment.java