Hi,
    I am developing an Android application and I need to pass multiple 
selections from the application,similar to selection from a multiselect 
checkbox.I have searched a lot and cannot find how to do this 

anywhere.Can you please help?
    Also, I need a Image gallery and if an image is selected user should be 
able to zoom in the image and view image.Is there any plugin or any example 
code that can do this that you would 

recommend?

Edit: To explain further I have attached a screenshot of the app.I am 
currently passing a single size and single color on each "Add to cart".I 
want to be able to send multiple sizes and color values.The 

current code is given below. also I need to be able to zoom into the image 
which is in the square above the size and colour box.I hope this helps 
explain the problem I am facing.

EDIT: I am putting a shortened version of the code.This code passes a size 
value from the spinner when a value is 
selected.(setOnItemSelectedListener).the spinner has id size_spinner.

JAVA

private void setSizeData(Context context, int pos) {

sizeList = new ArrayList<>();


sizeList = style_modelsList.get(pos).getSizeModels();

if (sizeList != null) {
SizeAdapter sizeAdapter = new SizeAdapter(context);
size_spinner.setAdapter(sizeAdapter);
size_spinner.setOnItemSelectedListener(new 
AdapterView.OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView


}

@Override
public void onNothingSelected(AdapterView
}
}); 

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3ae0bcc6-ec7a-4826-95df-67732cf13753%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to