src/main/java/de/blau/android/dialogs/GpxUpload.java
/**
     * Show an instance of this dialog
     * 
     * @param activity the calling FragmentActivity
     * @param trackId id of the track layer
     */
Show an instance of this dialog

@param activity the calling FragmentActivity
@param trackId id of the track layer
Show an instance of this dialog @param activity the calling FragmentActivity @param trackId id of the track layer
public static void showDialog(@NonNull FragmentActivity activity, @NonNull String trackId) {
        dismissDialog(activity);
        try {
            FragmentManager fm = activity.getSupportFragmentManager();
            GpxUpload gpxUploadFragment = newInstance(trackId);
            gpxUploadFragment.show(fm, TAG);
        } catch (IllegalStateException isex) {
            Log.e(DEBUG_TAG, "showDialog", isex);
        }
    }
public static void showDialog ( @ NonNull FragmentActivity activity , @ NonNull String trackId ) { dismissDialog ( activity ) ; try { FragmentManager fm = activity . getSupportFragmentManager ( ) ; GpxUpload gpxUploadFragment = newInstance ( trackId ) ; gpxUploadFragment . show ( fm , TAG ) ; } catch ( IllegalStateException isex ) { Log . e ( DEBUG_TAG , "showDialog" , isex ) ; } }
Show an instance of this dialog
Show an instance of this dialog