The tag, setTag(), is just a generic object pointer for use by the program.
Typically what would happen would be to instantiate an object that contains
information about the button and place pointer to the object in the button
view's tag field:
button.setTag((Object)myObject);
then whenever the
Hi
Your suggestion sounds good. But I haven't been able to figure out how
to use tags with buttons to determine the position. Would you be able
to give me an example?
Thanks,
Abhi
On Dec 22, 10:30 am, WoodManEXP woodman...@gmail.com wrote:
Although I use ListView a lot it has always been a
Hi guys,
All I need is a listview with 6 items, each having an icon, textview
and a button/imageview. I want to be able to click the button/
imageview to open up a new activity and each row opens up a different
activity.
Any suggestions?
Abhi
On Dec 21, 8:11 pm, Abhi
Although I use ListView a lot it has always been a little confusing to
understand how it manages its views returned from BaseAdapter.getView
().
If you know you have just the six list rows, which is not a lot, then
every time BaseAdapter.getView() is called create the view hierarchy,
with the
4 matches
Mail list logo