I am getting this array of images using Pix image picker library, I just want to display the first image from an array into image view.no idea how to do it. here is my code
public void uploadImages(View view) {
Pix.start(Upload_ad.this,
100,
10);
}
public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode == Activity.RESULT_OK && requestCode == 100) {
ArrayList<String> returnValue = data.getStringArrayListExtra(Pix.IMAGE_RESULTS);
for (String path: returnValue)
{
String base64 = getBase64FromFile(path);
encodedImageList.add(base64);
}
}
}