Package com.example.iconic_raffleevent
Class DrawerHelper
java.lang.Object
com.example.iconic_raffleevent.DrawerHelper
Helper class for setting up and managing the navigation drawer in the application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
setupDrawer
(android.content.Context context, androidx.drawerlayout.widget.DrawerLayout drawerLayout, String userId) Sets up the navigation drawer.
-
Constructor Details
-
DrawerHelper
public DrawerHelper()
-
-
Method Details
-
setupDrawer
public static void setupDrawer(android.content.Context context, androidx.drawerlayout.widget.DrawerLayout drawerLayout, String userId) Sets up the navigation drawer.- Parameters:
context
- The context of the calling activity.drawerLayout
- The DrawerLayout containing the navigation menu.userId
- The ID of the currently logged-in user.
-