ListView l1
l1.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView<?> arg0, View v,int arg2, long arg3) {

xxxYourObject Type selectedObject = YourObjectList.get(arg2);/
Intent intent = new Intent(v.getContext(), YourActivity.class);
intent.putExtras(YourObject.toBundle());//if you have implemented to pass
multiple variables to the next activity
startActivity(intent);

}
});
}

On 8 April 2011 13:33, skera <[email protected]> wrote:

> I think I'll use Checkbox instead of Spinner. :) Thanks for your
> help! :)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to