hi all,

i use:
viestub v=(viewstub)findviewById(r.id.v);
view t=v.inflated();

then use onClickListener like:


v.setOnClickListener(new viewstub.OnClickListener()
{
public void onClick(view vv)
{
  Intent t=new Intent();
  t.setclass(a.this,b.class);
  startActivity(t);

}
);



but when i click the viewstub,
it didn't work???


why??


thank you a lot!
--~--~---------~--~----~------------~-------~--~----~
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