Android-Kotlin-MVVM-Template icon indicating copy to clipboard operation
Android-Kotlin-MVVM-Template copied to clipboard

[common-ui] Issue with androidx.fragment:fragment-ktx:1.3.0-beta01. Appbar params is not set (title, home icon, color))

Open dmitriy-chernysh opened this issue 5 years ago • 0 comments

When there is a dependency androidx.fragment:fragment-ktx:1.3.0-beta01 ,

BaseActivity.setAppBarTitle(...) calls before initToolbar() by some reason.

        super.onCreate(savedInstanceState)

      .....
        setContentView(layoutId)
        initToolbar()
        actionBar = supportActionBar
     ....
    }

Without this dependency, everything works fine

dmitriy-chernysh avatar Oct 23 '20 10:10 dmitriy-chernysh