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
good luck :)
Comments
Post a Comment