Top "Listview" questions

A ListView is a graphical screen control or widget provided by UI libraries in a majority of modern operating systems to show items in a list form.

update listview dynamically with adapter

This tutorial uses a SimpleAdapter which works fine, but I need to update the arrays in the adapter when new …

android listview
How to scroll to top of long ScrollView layout?

For part of my app, the user is presented with a list of names and is asked to group them …

android listview scrollview
How to select an item in a ListView programmatically?

I'm trying to select the first item in a ListView programmatically, but it doesn't appear to have been selected. I …

c# .net winforms listview selection
Showing empty view when ListView is empty

For some reason the empty view, a TextView in this case, always appears even when the ListView is not empty. …

android listview
Clear listview content?

I have a little problem with ListView. How do I clear a ListView content, knowing that it has a custom …

android listview adapter
Best Way to Refresh Adapter/ListView on Android

My book, "Hello Android" gives this as a way of using a custom db helper, setting up a cursor, and …

android listview refresh
ListView item background via custom selector

Is it possible to apply a custom background to each Listview item via the list selector? The default selector specifies @…

android listview
How to autosize and right-align GridViewColumn data in WPF?

How can I: right-align the text in the ID column make each of the columns auto size according to the …

wpf xaml listview gridview gridviewcolumn
OnItemClickListener using ArrayAdapter for ListView

I want to have an OnItemClickListener for a ListView I create using an ArrayAdapter This is the code I use …

android listview onclick android-arrayadapter onitemclicklistener
Android: how to refresh ListView contents?

My ListView is using an extension of BaseAdapter, I can not get it to refresh properly. When I refresh, it …

android listview android-adapter