ui from the fragment class? I need to hide/show a fab (which is inside the activity's layout) by press of a button (which is located at the fragment).
I created a ViewModel for that. What my question is:
Is this a right-way to handle such a thing like this? Any ideas?
https://stackoverflow.com/questions/14493700/how-to-access-ui-elements-in-parent-activity-from-fragment
using ViewBinding? BTW i've already looked there...
Обсуждают сегодня