With list views you'll likely want to keep your state variable (e.g. boolean mDownloading) in the data structure of your element. When that state changes, perform a "notifyDataSetChanged()" on the adapter and have your "getView()" method in your adapter reflect the appropriate state for the object (e.g. row color and clickable).
On Apr 27, 3:48 am, Nouman Naseer <[email protected]> wrote: > Hi All, > > I'm using a listview with customAdapter extending from base adapter. > Everything is working fine the data is populating and click events are > also firing. Now the scenario is; while I'm downloading the data, that > will show up onClick Event of the List, I want to disable the click > event and want the color of each row in listview to be gray. I'm > maintaining a check which notify me that the data is downloaded > successfully and after which I want enable the click event and change > the color of each row back to black. Any idea how I can do that. > > I'm using Android SDK 2.2 > > Thank You -- 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

