-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release 3.0.1 - updated to glide 4.9.0
- Loading branch information
1 parent
f2b915c
commit 1a6b819
Showing
21 changed files
with
1,487 additions
and
27 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/src/in/prashant/imagepicker/Blobby.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/src/in/prashant/imagepicker/Defaults.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/src/in/prashant/imagepicker/GalleryResultHandler.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/src/in/prashant/imagepicker/ImageAdapaterArray.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/src/in/prashant/imagepicker/ImagePickerActivity.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/src/in/prashant/imagepicker/ImageViewerActivity.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/src/in/prashant/imagepicker/ImageViewerInfo.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/src/in/prashant/imagepicker/ImagepickerModule.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/src/in/prashant/imagepicker/Utils.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/java/ti/imagepicker/ImagepickerBootstrap.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/compat/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/coreui/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/coreutils/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/design/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/exifinterface/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/fragment/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/graphics/drawable/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/graphics/drawable/animated/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/mediacompat/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/transition/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/v4/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/v7/appcompat/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/v7/cardview/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/android/support/v7/recyclerview/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/ti/imagepicker/R.java" | ||
"/Users/hans/Documents/dev/titanium/titanium-android-imagepicker/android/build/generated/r/ti/modules/titanium/ui/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/src/ti/imagepicker/Blobby.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/src/ti/imagepicker/Defaults.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/src/ti/imagepicker/GalleryResultHandler.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/src/ti/imagepicker/ImageAdapaterArray.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/src/ti/imagepicker/ImagePickerActivity.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/src/ti/imagepicker/ImageViewerActivity.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/src/ti/imagepicker/ImageViewerInfo.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/src/ti/imagepicker/ImagepickerModule.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/src/ti/imagepicker/Utils.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/java/ti/imagepicker/ImagepickerBootstrap.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/compat/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/coreui/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/coreutils/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/design/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/exifinterface/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/fragment/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/graphics/drawable/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/graphics/drawable/animated/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/mediacompat/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/transition/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/v4/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/v7/appcompat/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/v7/cardview/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/android/support/v7/recyclerview/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/com/bumptech/glide/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/com/bumptech/glide/gifdecoder/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/ti/imagepicker/R.java" | ||
"/Users/prashant/Projects/Appcelerator_Studio_Workspace/imagepicker/android/build/generated/r/ti/modules/titanium/ui/R.java" |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package ti.imagepicker; | ||
|
||
import android.graphics.Bitmap; | ||
import android.graphics.BitmapFactory; | ||
import java.io.File; | ||
import org.appcelerator.titanium.TiBlob; | ||
|
||
/** | ||
* Created by prashant on 20/06/17. | ||
*/ | ||
|
||
|
||
|
||
public class Blobby { | ||
protected static TiBlob rescale(String filePath, int destWidth, int destHeight, boolean keepAspect) { | ||
if (null != filePath) { | ||
Bitmap resultBitmap = Blobby.getSmallBitmap(filePath, destWidth, destHeight); | ||
|
||
if (!keepAspect) { | ||
return TiBlob.blobFromImage(Bitmap.createScaledBitmap(resultBitmap, destWidth, destHeight, false)); | ||
|
||
} else { | ||
int finalWidth = 0, finalHeight = 0; | ||
int photoW = resultBitmap.getWidth(); | ||
int photoH = resultBitmap.getHeight(); | ||
float ratioH = (float) photoH / photoW; | ||
|
||
if (photoH > photoW) { | ||
finalHeight = (photoH > destHeight) ? destHeight : photoH; | ||
finalWidth = (int) (finalHeight / ratioH); | ||
|
||
} else { | ||
finalWidth = (photoW > destWidth) ? destWidth : photoW; | ||
finalHeight = (int) (finalWidth * ratioH); | ||
} | ||
|
||
return TiBlob.blobFromImage(Bitmap.createScaledBitmap(resultBitmap, finalWidth, finalHeight, false)); | ||
} | ||
|
||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
|
||
private static int getInSampleSize(BitmapFactory.Options options, int w, int h) { | ||
int inSampleSize = 1; | ||
|
||
if (options.outHeight > h || options.outWidth > w) { | ||
int halfHeight = options.outHeight / 2; | ||
int halfWidth = options.outWidth / 2; | ||
|
||
while ((halfHeight / inSampleSize) > h && (halfWidth / inSampleSize) > w) { | ||
inSampleSize *= 2; | ||
} | ||
} | ||
|
||
return inSampleSize; | ||
} | ||
|
||
|
||
protected static Bitmap getSmallBitmap(String filePath, int w, int h) { | ||
File tempFile = new File(filePath); | ||
|
||
BitmapFactory.Options options = new BitmapFactory.Options(); | ||
options.inJustDecodeBounds = true; | ||
|
||
BitmapFactory.decodeFile(tempFile.getAbsolutePath(), options); | ||
|
||
options.inJustDecodeBounds = false; | ||
options.inSampleSize = getInSampleSize(options, w, h); | ||
|
||
return BitmapFactory.decodeFile(tempFile.getAbsolutePath(), options); | ||
} | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
package ti.imagepicker; | ||
|
||
|
||
import android.content.Context; | ||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.util.DisplayMetrics; | ||
|
||
|
||
|
||
public class Defaults { | ||
public static final String LCAT = "ImagepickerModule"; | ||
public static final String ACTION_BAR_ERROR_MSG = "Error in calling actionBar. Make sure you are using a theme which has Action Bar enabled or pass the similar theme via `theme` property"; | ||
public static final int REQUEST_CODE = 111; | ||
public static final int QUALITY = 60; | ||
public static final int SHAPE_SQUARE = 1; | ||
public static final int SHAPE_CIRCLE = 2; | ||
|
||
public static String STATUS_BAR_COLOR; | ||
public static String BAR_COLOR; | ||
public static String BACKGROUND_COLOR; | ||
public static String COVER_VIEW_COLOR; | ||
public static String CHECKMARK_COLOR; | ||
public static String TITLE; | ||
public static String DONE_BTN_TITLE; | ||
public static String MAX_IMAGE_MSG; | ||
public static String ACTIVITY_THEME; | ||
|
||
public static String IMAGE_PATH; | ||
public static final String IMAGE_TITLE_COLOR = "#fff"; | ||
public static final String IMAGE_TITLE_BACKGROUND_COLOR = "#80000000"; | ||
|
||
public static int GRID_SIZE; | ||
public static int IMAGE_HEIGHT; | ||
public static int SHOW_DIVIDER; | ||
public static int DIVIDER_WIDTH; | ||
public static int MAX_IMAGE_SELECTION; | ||
public static int SHAPE; | ||
public static int CIRCLE_RADIUS; | ||
public static int CIRCLE_PADDING; | ||
|
||
|
||
protected static class Params { | ||
static final String STATUS_BAR_COLOR = "colorPrimaryDark"; | ||
static final String BAR_COLOR = "colorPrimary"; | ||
static final String BACKGROUND_COLOR = "backgroundColor"; | ||
static final String COVER_VIEW_COLOR = "coverViewColor"; | ||
static final String CHECKMARK_COLOR = "checkMarkColor"; | ||
static final String TITLE = "title"; | ||
static final String DONE_BTN_TITLE = "doneButtonTitle"; | ||
static final String GRID_SIZE = "columnCount"; | ||
static final String IMAGE_HEIGHT = "imageHeight"; | ||
static final String SHOW_DIVIDER = "dividerEnabled"; | ||
static final String DIVIDER_WIDTH = "dividerWidth"; | ||
static final String MAX_IMAGE_SELECTION = "maxImageSelection"; | ||
static final String MAX_IMAGE_MSG = "maxImageMessage"; | ||
static final String SHAPE = "shape"; | ||
static final String CIRCLE_RADIUS = "circleRadius"; | ||
static final String CIRCLE_PADDING = "circlePadding"; | ||
static final String ACTIVITY_THEME = "theme"; | ||
|
||
|
||
// image viewer parameters for each image | ||
static final String IMAGE_PATH = "image"; | ||
static final String IMAGE_TITLE = "imageTitle"; | ||
static final String IMAGE_TITLE_COLOR = "titleColor"; | ||
static final String IMAGE_TITLE_BACKGROUND_COLOR = "titleBackgroundColor"; | ||
static final String IMAGES = "images"; | ||
|
||
|
||
static final String CALLBACK = "callback"; | ||
} | ||
|
||
|
||
public static void resetValues(boolean openGallery) { | ||
Defaults.STATUS_BAR_COLOR = ""; | ||
Defaults.BAR_COLOR = ""; | ||
Defaults.BACKGROUND_COLOR = "#f8f8f8"; | ||
Defaults.COVER_VIEW_COLOR = "#99000000"; | ||
Defaults.CHECKMARK_COLOR = "#ff8f00"; | ||
Defaults.TITLE = openGallery ? "Select Pictures" : "Pictures"; | ||
Defaults.DONE_BTN_TITLE = "Done"; | ||
Defaults.GRID_SIZE = 3; | ||
Defaults.IMAGE_HEIGHT = 0; | ||
Defaults.SHOW_DIVIDER = 1; | ||
Defaults.DIVIDER_WIDTH = 4; | ||
Defaults.MAX_IMAGE_SELECTION = 0; | ||
Defaults.MAX_IMAGE_MSG = "You have selected maximum no. of allowed images."; | ||
Defaults.SHAPE = Defaults.SHAPE_SQUARE; | ||
Defaults.CIRCLE_RADIUS = 0; | ||
Defaults.CIRCLE_PADDING = 5; | ||
Defaults.ACTIVITY_THEME = ""; | ||
} | ||
|
||
|
||
public static void setupInitialValues(Context context, Intent intent) { | ||
Bundle bundle = intent.getExtras(); | ||
|
||
if (null != bundle) { | ||
Defaults.STATUS_BAR_COLOR = "" + bundle.getString(Params.STATUS_BAR_COLOR); | ||
Defaults.BAR_COLOR = "" + bundle.getString(Params.BAR_COLOR); | ||
Defaults.BACKGROUND_COLOR = "" + bundle.getString(Params.BACKGROUND_COLOR); | ||
Defaults.COVER_VIEW_COLOR = "" + bundle.getString(Params.COVER_VIEW_COLOR); | ||
Defaults.CHECKMARK_COLOR = "" + bundle.getString(Params.CHECKMARK_COLOR); | ||
Defaults.ACTIVITY_THEME = "" + bundle.getString(Params.ACTIVITY_THEME); | ||
|
||
Defaults.TITLE = "" + bundle.getString(Params.TITLE); | ||
Defaults.DONE_BTN_TITLE = "" + bundle.getString(Params.DONE_BTN_TITLE); | ||
Defaults.MAX_IMAGE_MSG = "" + bundle.getString(Params.MAX_IMAGE_MSG); | ||
|
||
Defaults.GRID_SIZE = bundle.getInt(Params.GRID_SIZE); | ||
Defaults.IMAGE_HEIGHT = bundle.getInt(Params.IMAGE_HEIGHT); | ||
Defaults.SHOW_DIVIDER = bundle.getInt(Params.SHOW_DIVIDER); | ||
Defaults.DIVIDER_WIDTH = bundle.getInt(Params.DIVIDER_WIDTH); | ||
Defaults.MAX_IMAGE_SELECTION = bundle.getInt(Params.MAX_IMAGE_SELECTION); | ||
Defaults.SHAPE = bundle.getInt(Params.SHAPE); | ||
Defaults.CIRCLE_RADIUS = bundle.getInt(Params.CIRCLE_RADIUS); | ||
Defaults.CIRCLE_PADDING = bundle.getInt(Params.CIRCLE_PADDING); | ||
} | ||
|
||
// set max-column count to 5 | ||
if (Defaults.GRID_SIZE > 5) { | ||
Defaults.GRID_SIZE = 5; | ||
|
||
} else if (Defaults.GRID_SIZE <= 1) { | ||
Defaults.GRID_SIZE = 3; | ||
} | ||
|
||
// set divider width = 0 if dividers are not enabled | ||
if (Defaults.SHOW_DIVIDER != 1) { Defaults.DIVIDER_WIDTH = 0; } | ||
|
||
if (Defaults.CIRCLE_RADIUS < 0) { Defaults.CIRCLE_RADIUS = 0; } | ||
if (Defaults.CIRCLE_PADDING < 0) { Defaults.CIRCLE_PADDING = 5; } | ||
|
||
// this will make images square as width will be auto-set by grid-view | ||
DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics(); | ||
|
||
if (Defaults.SHAPE == Defaults.SHAPE_CIRCLE) { | ||
Defaults.IMAGE_HEIGHT = displayMetrics.widthPixels / Defaults.GRID_SIZE; | ||
|
||
} else { | ||
Defaults.SHAPE = Defaults.SHAPE_SQUARE; | ||
Defaults.IMAGE_HEIGHT = (displayMetrics.widthPixels - ((Defaults.GRID_SIZE - 1) * Defaults.DIVIDER_WIDTH)) / Defaults.GRID_SIZE; | ||
} | ||
|
||
Defaults.STATUS_BAR_COLOR = checkTransparentColors(Defaults.STATUS_BAR_COLOR); | ||
Defaults.BAR_COLOR = checkTransparentColors(Defaults.BAR_COLOR); | ||
Defaults.BACKGROUND_COLOR = checkTransparentColors(Defaults.BACKGROUND_COLOR); | ||
Defaults.COVER_VIEW_COLOR = checkTransparentColors(Defaults.COVER_VIEW_COLOR); | ||
Defaults.CHECKMARK_COLOR = checkTransparentColors(Defaults.CHECKMARK_COLOR); | ||
} | ||
|
||
private static String checkTransparentColors(Object key) { | ||
if (key instanceof String) { | ||
String color = (String) key; | ||
return (color.equalsIgnoreCase("transparent")) ? "#00000000" : color; // transparent color hex | ||
} | ||
|
||
return "#00000000"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
package ti.imagepicker; | ||
|
||
import java.util.ArrayList; | ||
|
||
import org.appcelerator.kroll.KrollDict; | ||
import org.appcelerator.kroll.KrollFunction; | ||
import org.appcelerator.kroll.KrollObject; | ||
import org.appcelerator.titanium.TiC; | ||
import org.appcelerator.titanium.util.TiActivityResultHandler; | ||
|
||
import android.app.Activity; | ||
import android.content.Intent; | ||
|
||
|
||
|
||
public class GalleryResultHandler implements TiActivityResultHandler{ | ||
private KrollObject krollObject; | ||
private KrollFunction callback = null; | ||
|
||
|
||
public GalleryResultHandler(KrollFunction callback, KrollObject obj) { | ||
this.callback = callback; | ||
this.krollObject = obj; | ||
} | ||
|
||
|
||
@Override | ||
public void onError(Activity activity, int requestCode, Exception exc) { | ||
flushResponse(TiC.EVENT_PROPERTY_ERROR, true, TiC.EVENT_PROPERTY_MESSAGE, exc.toString()); | ||
} | ||
|
||
|
||
@Override | ||
public void onResult(Activity activity, int requestCode, int resultCode, Intent data) { | ||
if (resultCode == Activity.RESULT_CANCELED){ | ||
flushResponse(TiC.PROPERTY_CANCEL, true, TiC.PROPERTY_SUCCESS, false, TiC.EVENT_PROPERTY_MESSAGE, "Result Cancelled"); | ||
|
||
} else if (Defaults.REQUEST_CODE == requestCode && resultCode == Activity.RESULT_OK) { | ||
if (null != data && data.hasExtra(TiC.PROPERTY_SUCCESS) && data.hasExtra(Defaults.Params.IMAGES)) { | ||
ArrayList<CharSequence> imagePaths = data.getCharSequenceArrayListExtra(Defaults.Params.IMAGES); | ||
flushResponse(TiC.PROPERTY_CANCEL, false, TiC.PROPERTY_SUCCESS, true, Defaults.Params.IMAGES, imagePaths.toArray()); | ||
} | ||
} | ||
} | ||
|
||
|
||
// check if callback is not null & then iterate over any number of arguments to make key-value pair | ||
protected void flushResponse(Object... params) { | ||
if (null != callback) { | ||
ArrayList<Object> args = new ArrayList<Object>(); | ||
|
||
for (Object a : params) { | ||
args.add(a); | ||
} | ||
|
||
int length = args.size(); | ||
KrollDict response = new KrollDict(); | ||
|
||
for (int i=0; i<length; i++) { // double increase i to make key-value pair | ||
String key = (String) args.get(i); | ||
++i; | ||
response.put(key, args.get(i)); | ||
} | ||
|
||
callback.callAsync(krollObject, response); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package ti.imagepicker; | ||
|
||
/** | ||
* Created by Prashant Saini on 17/09/17. | ||
*/ | ||
|
||
public class ImageAdapaterArray { | ||
public String imagePath; | ||
public boolean selectionState = false; | ||
|
||
public ImageAdapaterArray(String imagePath) { | ||
this.imagePath = imagePath; | ||
selectionState = false; | ||
} | ||
} |
Oops, something went wrong.