src/main/java/de/blau/android/util/SelectByImageFragment.java
/**
     * Show a dialog containing a view for the list of images of which one can be selected
     * 
     * @param activity the calling Activity
     * @param imageList list of Uris
     * @param startPos starting position in the list
     * @param loader callback for loading images etc
     */
Show a dialog containing a view for the list of images of which one can be selected

@param activity the calling Activity
@param imageList list of Uris
@param startPos starting position in the list
@param loader callback for loading images etc
Show a dialog containing a view for the list of images of which one can be selected @param activity the calling Activity @param imageList list of Uris @param startPos starting position in the list @param loader callback for loading images etc
public static void showDialog(@NonNull FragmentActivity activity, @NonNull ArrayList<String> imageList, int startPos, @NonNull ImageLoader loader) { 
        de.blau.android.dialogs.Util.dismissDialog(activity, TAG);
        try {
            FragmentManager fm = activity.getSupportFragmentManager();
            SelectByImageFragment photoViewerFragment = newInstance(imageList, startPos, loader, true);
            photoViewerFragment.show(fm, TAG);
        } catch (IllegalStateException isex) {
            Log.e(DEBUG_TAG, "showDialog", isex);
        }
    }
public static void showDialog ( @ NonNull FragmentActivity activity , @ NonNull ArrayList < String > imageList , int startPos , @ NonNull ImageLoader loader ) { de . blau . android . dialogs . Util . dismissDialog ( activity , TAG ) ; try { FragmentManager fm = activity . getSupportFragmentManager ( ) ; SelectByImageFragment photoViewerFragment = newInstance ( imageList , startPos , loader , true ) ; photoViewerFragment . show ( fm , TAG ) ; } catch ( IllegalStateException isex ) { Log . e ( DEBUG_TAG , "showDialog" , isex ) ; } }
Show a dialog containing a view for the list of images of which one can be selected
Show a dialog containing a view for the list of images of which one can be selected
// NOSONAR