Check this post for a nice solution: androidforbeginners.blogspot.com/2010/03... (it actually works for any View: developer.android.com/reference/android/... ).
Check this post for a nice solution: androidforbeginners.blogspot.com/2010/03... (it actually works for any View: developer.android.com/reference/android/...).
I’m really confused. Here(stackoverflow. Com/questions/5973917/…) said every item in ArrayAdapter shared only one view instance.So that how can we get different views by getParent?
– Lai Yu-Hsuan May 13 at 2:13 I don't think that is correct. Every row will share the resource that is being inflated perhaps, but not the View. You cannot have one View displayed twice at the same time.
– Aleadam May 13 at 3:30 You solve my new problem. How about the older one: why can we cache the reference to "different" instances? – Lai Yu-Hsuan May 13 at 3:41 I got a exact answer on IRC for the old problem.
I will post on that page. – Lai Yu-Hsuan May 13 at 5:16.
I know what's setOnItemClickListener, but It set the listen to whole item. If my item contains a button to which I want to set listener, setOnItemClickListener doesn't help. I tried set listener in getView, but in vain.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.