https://kotlinlang.org logo
Title
u

user

07/13/2022, 9:11 AM
Unable to start activity ComponentInfo to create tabMenu I´m trying to launch other activity in my app when i´m doing login in my app. This second activity have a tabMenu with a viewPager2 but when my app tray load this activity launch error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.citysportgym/com.example.citysportgym.ProfileActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.viewpager2.widget.ViewPager2.setAdapter(androidx.recyclerview.widget.RecyclerView$Adapter)' on a...