Filter feature using CListCtrl
Hi, Is there any decent way to do filtering of Listview, without deleting and inserting items back? I am using VC++ 6.0. For example, hiding and then showing it back? Thanks. ...
Hi, Is there any decent way to do filtering of Listview, without deleting and inserting items back? I am using VC++ 6.0. For example, hiding and then showing it back? Thanks. ...
Hi, I have a ListView where I've defined the layout of each item in a separate XML file. In this file I've included a RatingBar and an EditText. I've programmatically created 7-8 items in this ListView. When I scroll through them, it seems to be quite buggy. Here are some examples: 1) If I set focus to the EditText in the first row...
Hello, I'm data-binding a ListView to a collection that comes from a service layer. In response to events, the view model associated with the ListView refreshes the ListView's data. In order to retrieve updated data, the vm retrieves a new collection instance from the service layer. Items in this collection are Equals() but not Referenc...
Hi, I just started android and i'm running into some problems. I have created a listview that is populated from a database. Each row has a button to delete the item from the list and the database. I am able to hook up an event listener to the button but I have not been able to determine the matching database record to be deleted. ...
I have an Array that I pass to a CustomAdapter for a ListView. The array has items that are already sorted. Something like: [{"stuff":[{"stuff_id": "1", "value":"test123"}, {"stuff_id": "1", "value":"test123"}, {"stuff_id": "2", "value":"test123"}]}] The Array changes allot so I do not know haw many sections I will have. So far I am...
Is there some place which describes the contract between Adapter and AdapterView, or between ListView and ListViewAdapter. I'm trying to create my own ListView Adapter. It is not clear to me the sequence of method invocations nor who maybe calling these methods. There appear to be several overlapping methods. getItem returns a data ...
Hi, I'm a bit lost here with how the ListView works. When my ListView is created I do some coloring depending of the data in the result set. protected void ListView1_ItemCreated(object sender, ListViewItemEventArgs e) { DataRow myRow; DataRowView myRowView; myRowView = (DataRowView)e.Item.DataItem; myRow = myRowView.Ro...
Hello, Can someone please tell me why this store is not working correctly. I have try'd with another store that is getting it's data from the server and then it is working ok. If I have the store setup like this, it does not do columnsort anymore?? What is this store missing to get it to work??? sessieView = new Ext.list.ListView({ ...
Hello, I need to put several listviews inner a LinearLayout. The Listviews should be wrap content to adapt the listview to their items. I need have one only scroll with which I can scroll all the listviews. I know that i can't use a scrollview because the listviews have their own scroll (but i don't need the scrolls of the listviews beca...
Is there an equivalent view structure to the iPhone default table cell? The default table cell formats an image (icon) and text in a nice looking way. Are there suggested equivalents for Android? Is there a sample somewhere? Thanks ...
I'm trying to get my list view to open up an alert dialog to display information when a person clicks on a selection. I have been trying several different things on the Google Developers website that have to do with this but have yet to come up with a result. Here is my code. package table.periodic; import android.app.Activity; import...
I have a ListActivity which lists a bunch of "things." If you click on one of these "things," you're taken to another ListActivity which lists a bunch of "stuff" for that "thing." Say I want to give the user the ability to edit the name of some of the "stuff"; or even delete some of the "stuff." At what point should I actually perform...
I have an EditText that has a onKeyListener. Whenever a key is pressed, the EditText string is compared with a set of words in a String array, to display a list of matches that begin with the string in EditText01. But the app always force closes. The log says java.lang.NullPointerException. This is my code: public class listupdate exte...
I need to display results from a SQL join in a ListView/ListActivity. I've created a cursor: Cursor cursor = db.rawQuery(LIST_JOIN_SQL, null); and if I iterate through the cursor, the results are exactly what I expect. However when I try and use a SimpleCursorAdapter to display these results in a ListView I get a runtime exception b...
Hi, I'm writing a horizontal tv-view, similar to the ones you know form tivo systems and similar. For each channel there is a row with the programmes for the next 6 hours or so, with a width proportional with their play time. My Idea is to write a custom widget for each row, and stack these on top of each other. This should allow me to ...
I have a list, and I want 'Next' and 'Previous' buttons at the bottom of the list. I've tried to make the ListAdapter for the list something other than simple_list_item_1, but Android won't let me. I keep getting '... can't be resolved'. Now, simple_list_item_1 is some kind of magical unicorn that is impossible to find, so I can't chang...
Hi, I've got the following code files = di.GetFiles("*.jpg"); for (int i = 0; i < files.Length; i++) { il.Images.Add(System.Drawing.Image.FromFile(folder + "\\" + files[i].Name)); lv.Items.Add(files[i].Name, i); } the code fills a System.Windows.Forms.ImageList with pictures from a jpg files. it also creates a System.Windows.Fo...
I have a ListView in my app that has a background image. All of the rows are a semi transparent white (#35FFFFFF). Whenever I scroll the list, the rows turn a light green that obscures the background image until I stop scrolling (usually--sort of unpredictable). Sometimes it flickers between the background image/color and the green. And ...
I have an activity that extends ListView. I populate my list with the results of a query to the sqlite database. A list element consists of start_time, end_time, client_name and status. These are the 4 bits on info I need to display for each list item. My question is: Is it possible for me to assign hidden elements to this ListView it...
I successfully inserted my image data into a database. However, currently I am having problems with showing it on the Listview. setListAdapter(new SimpleCursorAdapter(this, R.layout.view_list, c, new String[] {"date", "title", "mood"}, new int[] {R.id.txtDate, R.id.txtTitle, R.id.mood})); getListView().setOnItemClickListener...