I have a ListView and implemented Grouping with the code below in XAML,
<ListView.GroupStyle>
<GroupStyle>
<GroupStyle.ContainerStyle>
<Style TargetType="{x:Type GroupItem}">
<Setter Property="Margin" Value="0,...
Say I have a listview control with several items in it. How would I allow the user to drag and drop items to rearrange them in the control.
The listview control is in report view, with the full-row select extended style.
Thanks in advance.
...
Hi,
I put a ListView in the middle row of a View. The view is contained in a window that has SizeToContent set to WidthAndHeight. The ListView is initially empty, but the underlying ViewModel fills this list view in the process.
The middle Grid.Row height is set to * to fill the available size of the window. When the ListView receives ...
I have custom listview control, it scrolling on simulator but not working on phone
...
I have a songs list-view and I want to show pop-up media player when item in list-view clicked. A pop-up is a activity. But I don't know how to show pop-up activity on list-activity.Please can anybody help me ?
...
I have implemented the virtualized ListView from WPF Data virtualizing ListView. This works terrificly, but for the automatic resizing of the column widths. What happens is that the columns resize on the first retrieved result set (specifically the visible rows after the first load), but when new data comes in that is wider then the cont...
Hi All,
I am trying to set some client-side properties on a set of controls in the EditItemTemplate of an ASP.Net ListView.
For instance, if the EditItemTemplate contains something like this:
<tr id='phoneRow'>
<td>
<asp:Label ID="lblPhoneLabel" runat="server" Text="Phone Number: " />
</td>
<td>
<asp:Label ID="lblPhoneNu...
I have an Activity that will query a RESTful API every x seconds (polls using a handler). The results of the GET are used to update a ListView. This is done using an AsyncTask.
I want to put a Notification in the Notification bar when certain criteria are met in the new data. Everything I have read up to this point has suggested that...
hello, i have a problem with notifyDataSetChanged()
the data source (mData) has been changed, but the list did not change itself .
i need your help. thx!
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.fairlist);
mData = getData();
SimpleAdapter adapter = new SimpleAd...
I am building a list and the list contain for every contact a
checkbox to chose which one to modify for example, the problem is that
when the list became longer than the phone screen and the scrolling is
active; when i select a check box , a second one is automatically
selected in the bottom of the list.
the problem is the automatic sel...
I've been trying to get my ads to display in this type of layout.
Tabs -> LinearLayout -> ListView -> header. The header is set via addHeaderView and is displaying normally. If I were to move the ads anywhere else they display normally (so its not a setup issue). Using ads in the header of a listview works fine in my other projects.
So ...
Hi,
I've read up quite a bit on the exception thrown while using BaseAdapter, but i can't seem to find an alternative solution:
Make sure the content of your adapter is not modified from a background thread
What i want to achieve is to keep a copy of a message queue in memory, and use this message queue to populate the BaseAdapter for ...
So this is not so much a question as it is a post to an answer that I could not really find a good solution to. I searched quite a bit and I couldn't find anything decent. So after all was said and done, I just had to put my nose to the grindstone and figure it out.
I don't know if the method I'm using is the best way, but it works an...
Hey I seem to be having some kind of memory leak issue with my listview. The list view activity is in a tab and each row downloads an image and displays it in an ImageView (tiling it as a backgroiund). I am using a cache similar to droidfu http://github.com/kaeppler/droid-fu/blob/master/src/main/java/com/github/droidfu/imageloader/ImageC...
Hi,
this is my getView method:
public View getView(final int position, View convertView, final ViewGroup parent) {
ViewHolder holder;
if(convertView == null){
holder = new ViewHolder();
convertView = inflater.inflate(R.layout.propviewlistrow, null);
holder.title = (TextView) conver...
I followed example as http://www.androidpeople.com/android-custom-dynamic-listview/
However I bump into problem applying autoscroll to bottom as
listview.setTranscriptMode(ListView.TRANSCRIPT_MODE_DISABLED);
Where should I apply it?
...
Hi,
I have a frustrating problem that I would much appreciate some help with. I have a ListView within a ViewBox and I can't get the items within the ListView to stretch horizontally. Here is the XAML:
<Window x:Class="WpfApplication3.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://s...
I have a ListView (GridView) in WPF and I'm trying to implement sorting according to http://msdn.microsoft.com/en-us/library/ms745786.aspx. In my case, the celltemplate for one of the columns contains an Expander. Now when I click the expander header, the GridViewColumnHeader.Click event fires. How do I prevent this from happening?
...
In my search activity I am pulling data from 4 Cursors (each with a tag saying what it contains) placed in a MergeCursor. What I'd like to is create a section indexer which allows the user to move between these sections, instead of the usual alphabetical one. How should I go about doing this?
Thanks
...
Hi I am new in Android. Could anyone tell me pls whats the wrong with the following code:
public class ListApp extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView lText = new TextView(this);
lText.setId(0);
ListView lView = new ListView(this...