is it good practice? ``` with((activity a...
# android
t
is it good practice?
Copy code
with((activity as AppCompatActivity).supportActionBar!!) {
            setDisplayShowTitleEnabled(false)
            setDisplayHomeAsUpEnabled(true)
            setDisplayUseLogoEnabled(true)
            setLogo(R.drawable.shopping_cart)
        }
or should I implement that in another way?