You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if it's at all possible to hide the toolbar of the fragment activity in code. I could write my own implementation of the xml layout of the fragment, but that requires a lot of work.
This is how I'm currently starting the fragment:
private fun imageGalleryInitializer(): ImageGalleryFragment {
val fragment = ImageGalleryFragment()
val images =
val bundle = Bundle().apply {
putStringArrayList(ImageGalleryFragment.KEY_IMAGES, ArrayList(images))
putString(ImageGalleryFragment.KEY_TITLE, "Unsplash Images")
}
fragment.arguments = bundle
return fragment
}
If I could give as parameter in putString() some sort of value to hide the toolbar, that would be the ideal situation. Let me know if this is at all possible!
The text was updated successfully, but these errors were encountered:
I was wondering if it's at all possible to hide the toolbar of the fragment activity in code. I could write my own implementation of the xml layout of the fragment, but that requires a lot of work.
This is how I'm currently starting the fragment:
If I could give as parameter in putString() some sort of value to hide the toolbar, that would be the ideal situation. Let me know if this is at all possible!
The text was updated successfully, but these errors were encountered: