added initmapview
This commit is contained in:
@@ -8,6 +8,7 @@ import android.location.LocationManager;
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.core.app.ActivityCompat;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.fragment.app.Fragment;
|
||||
@@ -56,6 +57,13 @@ public class HomeFragment extends Fragment {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
|
||||
initMap(view);
|
||||
}
|
||||
|
||||
private void initMap(@NonNull View view) {
|
||||
// set the user agent
|
||||
Configuration.getInstance().setUserAgentValue(userAgent);
|
||||
|
||||
Reference in New Issue
Block a user