Note that you can easily implement this yourself. Create a subclass of ListView, override dispatchTouchEvent() and simply ignore all events if isEnabled() == false.
On Mon, Jun 1, 2009 at 4:37 PM, awwa <[email protected]> wrote: > > Thank you for replying. > I understand the known issue. > I will try to avoid this or reconsideration the design. > > On Jun 2, 1:43 am, Romain Guy <[email protected]> wrote: >> setEnabled(false) not working on ListView is a known issue that I will >> fix in Eclair. >> >> >> >> >> >> On Mon, Jun 1, 2009 at 6:37 AM, awwa <[email protected]> wrote: >> >> > I want to display the data in the ListView(1). >> > When scroll the ListView(1) and select the item, >> > Then set visible the new ListView(2). >> > ListView(2) displays the data which selected item from ListView(1). >> > After set gone the ListView(2) by any operation, >> > ListView(1) is scrollable again. >> > The ListView(1) and (2) are layouted like following. >> >> > --------------- >> > | | >> > | | >> > | ListView(1) | >> > |(not scroll) | >> > | | >> > --------------- >> > | | >> > | | >> > | ListView(2) | >> > | (scrollable)| >> > | | >> > --------------- >> >> > I Thank you. >> >> > On Jun 1, 8:39 pm, Mark Murphy <[email protected]> wrote: >> >> awwa wrote: >> >> > I mean that the ListView does not scroll by touch the screen. >> >> > All operation from user is ignored by the ListView. >> >> >> Why use a ListView, then? >> >> >> If setEnabled() does not do what you want, then I have no good idea how >> >> you would get the behavior you seek out of a ListView. >> >> >> -- >> >> Mark Murphy (a Commons >> >> Guy)http://commonsware.com|http://twitter.com/commonsguy >> >> >> Need Android talent? Ask on HADO!http://wiki.andmob.org/hado >> >> -- >> Romain Guy >> Android framework engineer >> [email protected] >> >> Note: please don't send private questions to me, as I don't have time >> to provide private support. All such questions should be posted on >> public forums, where I and others can see and answer them > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

