set Scroll Bottom Menu Listeners Unregistered
fun setScrollBottomMenuListenersUnregistered(bnv: BottomNavigationView, nsv: NestedScrollView, packageContext: Context)
Content copied to clipboard
Sets the listeners and defines the corresponding behaviors (limited to scrolling actions and starting activities) when the items in the given bottom navigation view for unregistered users are selected.
Since unregistered users are restricted to only their feed and this method does not involve passing intents, there is no need to pass the activity calling this method and the menu corresponding to the activity on which the scrolling action is executed.
Parameters
bnv
Bottom navigation view for unregistered users.
nsv
Nested scroll view involved in the scrolling action.
packageContext
Context of the activity calling this method.