Class DrawerHelper

java.lang.Object
com.example.iconic_raffleevent.DrawerHelper

public class DrawerHelper extends Object
Helper class for setting up and managing the navigation drawer in the application.
  • 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.