I use the list view to display a constantly changing list of items from an
SQL table. Using ListView lets me use the cursor adapters which keep the
view in sync automatically. But I guess I will go with your suggestion as
using a simple view may be more efficient.

regards,
harsh

On Wed, Apr 2, 2008 at 7:27 PM, xingye <[EMAIL PROTECTED]> wrote:

>
> If you don't need a list, why not draw the items on a simple view?
>
> On 4月2日, 下午6时33分, "Harsh Jain" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >  I need to create a list view, which doesnt response to user
> interactions,
> > it should be non-clickable, and user should not be able to scroll
> through
> > it.
> > I tried the following
> >         ListView lv = getListView();
> >         lv.setClickable(false);
> >         lv.setFocusable(false);
> >         lv.setDividerHeight(0);
> >         lv.setItemsCanFocus(false);
> >
> > But I am still able to navigate the list using key pad and am also able
> to
> > click through it. I even tried lv.setEnabled(false), which only makes it
> > grey but i am still able to scroll through it. Please advice.
> >
> > Regards,
> > harsh
> >
>

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to