android - What to use for image gallery using parse -


i trying display images retrieving through parse in imageview. want keep images swipe-able both left , right. confused in method use. please guide me might right me keeping in mind things want achieve. example or tutorial help.

thank-you.

you can have specific class gallery1 holds image , image name.

if gallery1 class & image column name (i.e key in parse), can imageurl by,

 parsequery<parseobject> query = new parsequery<parseobject>("gallery1");     query.orderbyascending("createdat");      try {         parseobjects = query.find();     } catch (parseexception e) {         e.printstacktrace();         log.e("error : ", e.getmessage());     }      (parseobject parseobject : parseobjects) {          parsefile image = (parsefile) parseobject.get("image");         if (image!=null) {              log.d("image", image.geturl());         }       } 

for swiping left , right, there many posts available here. here few

best way swipe images in android

how can swipe images in android

image viewpager swiping

good luck :)


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -