Category : google-maps

so I have bottomNavigationView that holds tabs and navigates to fragments using setOnNavigationItemSelectedListener() in one of the fragments I need to display google maps, but I’m getting this error: java.lang.NullPointerException: Attempt to invoke virtual method ‘void (’ on a null object reference even though I initialized SupportMapFragment right above the error line getMapAsync() like ..

Read more