I have a ListView that shows a list of names. When you select a name, I want to pass the selected person' ID to the next view (Profile) and retreieve their data based on their ID.
I am able to load the Profile View, but do not know how to pass the ID from the ListView to the Profile. Here is how I am loading the Profile:
lv.setOnIt...
I'm learning WPF and would like to have a collection similar to a LinkedList, to where I can add and remove strings. And I want to have a ListView that listen to that collection with databinding. How can I do bind a simple list collection to a ListView in XAML?
My idea (not working) is something like this:
<Window x:Class="TestApp.Main...
Hallo all,
I have a ListView which contains a Button in each line. The following code is part of the getView() Method
public View getView(final int position, View convertView, ViewGroup parent) {
View row = convertView;
TextView tv;
Button saveA_button;
EditText edittext;
FITB_ViewWrapper wrapper...
I have a ListView. When an item on the ListView is tapped, it loads a SubView. I want to assign an ID to each row of the ListView, so I can pass that ID along to the SubView. How do I assign a specific ID to each row in the ListView?
Here is how I am currently loading the ListView:
setListAdapter(new ArrayAdapter<String>(this, R.layout...
Hi All,
I have two lists,
Status
Name (string)
Active (yes/no)
Task
Name (string)
Status (Lookup to Status list)
I have the following statuses (These can be changed at any time by the client):
New, Active = Yes
Open, Active = Yes
Not Resolved, Active = No
Resolved, Active = No
I want to create a view for the Tasks list, tha...
Is there a way to repeat the column headers inside each group of a ListView.GridView when using a grouped CollectionViewSource as the source of the ListView?
I am using the example at http://msdn.microsoft.com/en-us/library/ms754027.aspx which uses an Expander control to display each group.
I would like the column headers to appear in...
Hi guys,
I'm just a newbie in Android world.
I tried to add a ListView inside a tab (or actually in activity),
and each listview will be displaying another view that contains component such text, image and etc.
this components is got to be dynamic, will be set within the source program
listview layout :
<LinearLayout xmlns:android="ht...
Hi,
I work on a asp.net 3.5 page with c# and use a Listview.
Please find ma code bellow.
Here my questions:
I have a foraign key from catID to my table Categories, how I can insert the Name (stored in the table categories) insted the catID in the List view?
The description is possible very very long, how can I make a substring on th...
Hello
I have a problem with dropdowllist ddl1 that is inside of insertitem of listview. I populate it from table on page load.
In Page_load I have:
if (!Page.IsPostBack)
{
ListView1.DataBind();
InsDropDownList3.DataSource = GetAllPlayersName();
InsDropDownList3.DataBind();
}
DropDownList ddl1 = (...
Hello,
I am using entity framework. My model has entity tblGameInfo where in navigation properties are associations called tblPlayer1 and tblPlayer2 which links to entity tblPlayer. I have listview on my page where I want to show game info with players names. I have found that in of listview I should have e.g. one of those:
...
Hi.
I facing a problem of Filtered list view not updated.
In my application there is a custom list view which has a two text view and one image view as a row elements.
Filter works fine but my Custom list view not updated,Result show the first rows of the List.
This is my code,
abc.java file
public class abc extends ListActivity ...
Ok the title maybe a little confusing. I have a database with the table Companies wich has one-to-many relotionship with another table Divisions ( so each company can have many divisions ) and division will have many employees.
I have a ListView of the companies. What I wan't is that when I choose a company from the ListView another Lis...
I want to display a button inside the listview.
The goal should be to click on the listview line or on the button.
Click on the line it shows more info.
Click on the button it shows at the bottom more buttons.
The same as the GMAIL app.
On the right there is a checkbox and after clicking on the checkbox at the bottom the button bar ap...
I have a listview in a WPF application that has a button in one of its columns. I associate a image to the button control. I want to configure different images for this button based on the
How do I write the XAML in this scenario???
This is what I have already:
<ControlTemplate x:Key="IconButtonAddProfile" TargetType="{x:Type Button}...
I have a panel which contains a TableLayoutPanel which itself contains a number of ListViews and Labels.
What I'd like is for each list view to resize to fit all of it's contents in vertically (i.e. so that every row is visible). The TableLayoutPanel should handle any vertical scrolling but I can't work out how to get the ListView to re...
I have a listlayout with items in it that looks like this:
There is first an ImageView (the light) and then two textViews. All of this inside a TableLayout. (source here: http://code.google.com/p/switchctrl/source/browse/trunk/android/res/layout/device_switch.xml)
I want to have a rotating animation of a loading indicator Ontop of th...
Hey guys,
I tried to add these views to list view using this kind of factory but everytime I try and add the view to a ListActivity, it comes up with nothing. What am I doing wrong? I set my list views like so:
List<View> views = new ArrayList<View>();
for(int x =0;x<tagg_views.size();x++){
lv.addHeaderView(views.get(x));
}
...
There is a requirement to have not-so-trivial dynamic list, each record of which consists of several columns (texts, buttons). It should look something like:
Text11 Text12 Button1 Button2
Text21 Text22 Button1 Button2
...
At first obvious way to accomplish that seemed to be TableLayout. I was expecting to have layout/styling data spec...
hi,
i have a ListView, whose content should not be selectable.
i set the ListView to choiceMode="none" and set a transparent listSelector.
for touch mode it acts as desired. a problem is the use of the trackball. if i try to use it for scrolling, the scroll starts after the 10th push to "down". this is caused by the invisible listSelec...
I am building a project in asp.net 4.0. My navigation will be database driven where i return a datatable from the db containing all the pages of my site, some will be top level while others will be children and sometimes children of children n-times.
Im thinking of going down the nested repeater route and databinding from code behind, ...