I have one custom Listview with a button, now i want to click the
button and open another class. below is my code, but have error, any
one can help one it??
this one is a custom adapter.
holder.btviewdetail.setOnClickListener(new OnClickListener() {
public void onClick(View v){
Log.e("TEXTValue",
mList.get(position).get(mIndex[3]).toString());
//productlistitem a = new productlistitem();
//a.test(mList.get(position).get(mIndex[1]).toString());
Intent intent = new Intent();
intent.setClass(productlistitem.this,
productdetail.class);
startActivity(intent);
}
});
error in the intent setclass.
--
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