listview

How to get List view like Vista/Windows7

Using: Visual Studio 2005, .net 2.0 Can we get the features of list view as seen in Vista/Window7 OS (file/folders details view): When mouse is over a row its highlighted. Problem: if i set HotTracking = true, the items are shown underlined, also mouse cursor changed. Dragging select multiple items. Problem: [Multiple Select = true, ...

Android ListView set Number of items to show

How can i set the number of items to show in a list without to scroll? Example: I have a list with 10 items. I want that only 3 items appears and that I have to scroll to see the rest of the items. ...

How to display a special message if a filtered list view contains no results any more?

Is there any way to show a message such as "No results" when i filter a list? ...

Scrolling in a ListView with automatic "snap-to-grid"

I'm creating a list with ListView where each element in the list is a fullscreen picture. When I scroll/slide from element to element - I want the application to automatic show the picture I scrolled to in fullscreen. Kind of the same way that the Android Album does, when it shows pictures in fullscreen. It automatically detecs wich item...

Android ListView Data Virtualization - Lazy Loading more than 10,000 items

Does anybody have an example of lazy loading (about 10,000 items) an Android ListView from a Sqlite databse? ...

prevent listview to lose selected item

Hi, I'm currently working on a listview in winform c# and everytime I click on an empty space on the listview, the selected item is lost. please help ed ...

WPF ListView loaded via binding with XmlDataProvider and I want to resize columns after the items are created.

Here is my XAML: <Window x:Class="Application.SeeProductVersions" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:Application.ApplicationData" Title="Product Versions" Height="300" Width="640" Loaded="Window_Loaded...

C#: What's an effecient way of parsing a string with one delimiter through ReadLine() of TextReader?

C#: What's an effecient way to parse a string with one delimiter for each ReadLine() of TextReader? My objective is to load a list of proxies to ListView into two columns (Proxy|Port) reading from a .txt file. How would I go upon splitting each readline() into the proxy and port variables with the delimiter ":"? This is what I've got s...

.net - altering ListView runtime item values from a LinqDataSource

I need to programatically test and modify a ListView's column values at run time. The data is coming from a LinqDataSource ("LDS") and the LDS is declared to return an ordered subset of the target SQL table's columns. My inclination was to do this using the ListView's OnItemDataBound event, but at that time the ListViewDataItem is an an...

Android Layout with ListView and Buttons

Alright, this specific layout is just annoying me. And can't seem to find a way to have a listView, with a row of buttons at the bottom so that the listview doesn't extend over top of the buttons, and so the buttons are always snapped to the bottom of the screen. Here's what I want: It seems like it should be so easy, but everything I'...

Adding Checkbox in asp.net Listview control to allow multiple delete

Hi, I am trying to display checkboxes in front of every row in list view. So that after selecting the desired checkboxes user clicks on delete button and we should delete that records. but how can it be done? ...

Android Selector Problem

Hi, i have a listview with a custom item_row.xml. I've defined a selector in this way: <?xml version="1.0" encoding="utf-8"?> <item android:state_pressed="false" android:drawable="@drawable/list_bg" > </item> <item android:state_pressed="true" android:drawable="@drawable/header_bg" > </item> <ite...

How to show a button at the end of listview in android?

I want to show a button at the end of an android list view How can I achieve this? i dont want to stick it to the activity bottom using alignparentbottom="true", layout_below does not work for me either. But i want to show it at the end of list view Any help would be appricated here comes my code. <?xml version="1.0" encoding="UTF-8"?>...

Separate 'selected items' and 'focused item' in WinForms ListView

Hi, I'd like to implement a ListView that will have a list of SelectedItems as it has now, but it will also have a separate item that is under cursor (movable with mouse/keyboard). Item selecting will be done with special action (for example the space key). In other words, I'd like to suppress selection on the ListView and only change...

How to use listview as an Data source?

Hi, I want to use a listview as a data source of my Microsoft Report file which is having a rdlc extension ? Is it possible ? ...

Android: Populating a listview with array items

I'm new to Android and I think I'm trying to do something really basic: I have a 5 strings in my Array (say 'One', 'Two', ...). I want to add these 5 strings to my list view in my listactivity. My List: <ListView android:id="@+id/android:list" android:layout_width="wrap_content" android:layout_height="wrap_content"/...

How to generate a ListView with headers above some sections?

I want to generate a Listview that has some dividers between some of the entries, like it can be seen in some of the property sections. See the example below. I try to generate a List that consists of some textviews followed by one of the fancy dividers explaining the next part of the list and then again some text views. How can this be ...

Catching onScroll-Events of a ListView created through an IconicAdapter

Hi, I have a ListView stitched together by an IconicAdapter. I want to call a function addNextTenEntries() (which in itself is already working) when the user has scrolled to the bottom of the list, similar to what the Market does (dynamic loading of further entries). I have tried to implement OnGestureListener to catch the Scroll and ...

Android ListView style

Hi, I have a question about list views. I hope someone knows the solution, because I have been trying to solve this problem all weekend. I have a custom list view in which every row have a custom .xml (item_row.xml) with a set color background for the row item. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http:...

Android tabwidget next focus is 5 row in the listview

I am using listview in tabwidget tab1 when my focus is on "Tab label" and i press arrow keys or track ball to go down focus directly jumps to the 5th row in the listview. any idea whats going wrong ? ...