android - how to load image from sdcard into pager adapter? -


i new android development, want load image either internal storage/pictures/forldername or sdcard/pictures/foldername swipe feature galley. images should displayed swipes. can havae example of what.

thanks in advance

use glide fast , efficient image loading.

string path =environment.getexternalstoragedirectory()+"/foder_name/locationtoyourimage.png";   glide.with(mainactivity.this)     .load(path)     .centercrop()     .crossfade()     .into(myimageview); 

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -