A concrete BaseAdapter that is backed by an array of arbitrary objects.

learn more… | top users | synonyms (1)

0
votes
1answer
17 views

Android - Error with ListView in adapter : java.lang.NullPointerException

I'm facing this error in displaying a List View. The problem is in the adapter but I couldn't find the solution. This in my logcat : FATAL EXCEPTION: main java.lang.NullPointerException at ...
0
votes
3answers
23 views

Android error with ListView in adapter : java.lang.ClassCastException

I'm facing this error in displaying a List View. The problem is in the adapter but I couldn't find the solution. This in my logcat : FATAL EXCEPTION: main java.lang.ClassCastException: ...
0
votes
1answer
31 views

ListView and multiple TextViews with insert function

I want to use multiple(2) textviews in a listview row. I think I must create custom adapter, But with this adapter I want to use insert multiple data to position 0 whenever I click a button like: ...
0
votes
1answer
36 views

declare Array adapter in the non-activity class to use in the fragment

So here is my problem. I'm using a dialog fragment to display some info. In that fragment, i have a spinner view that is filled up by the Array list. Normally I create that adapter in my fragment like ...
1
vote
2answers
22 views

Android ListView loading before data has been downloaded - have to restart view

I am using a New Runnable httprequest data loading in one of my classes. I use that class to populate a ListView in one of my Activities, but the thing is that the views are loading before the data ...
0
votes
1answer
25 views

ListView - ArrayAdapter - onItemClick

So Im using slidingmenu to create a nice little menu but without Fragments. With that, I have setup a ListView to display my menu. Trying to use onItemClick so then I can switch to the next Activity ...
0
votes
2answers
27 views

ListView not getting updated on calling notifyDataSetChanged()

i want to add data into the listview when pressing the button. but it is not getting updated pressing the button dont know how it is not getting worked. Please help me. here is the code below ...
0
votes
1answer
29 views

The method openFragmentTransaction() is undefined for the type new ActionBar.OnNavigationListener(){}

When I'm referring to Android Developers link to make a dropdown list, I got an error in Eclipse: The method openFragmentTransaction() is undefined for the type new ActionBar.OnNavigationListener(){} ...
1
vote
1answer
49 views

Java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification

I am receiving that error message from my app. But I think my ListView is actualized from UIThread, because I have this piece of code: ListaOrdenesActivity.this.runOnUiThread(new Runnable() { ...
0
votes
0answers
31 views

building ListView with Adapter

There is a main activity named CategoryListActivity in my project. Please see the following code: public class CategoryListActivity extends Activity implements ...
0
votes
3answers
25 views

Headers on Adapter - How to add sections?

I have a single listView with two adapters. I use MergeAdapter to bring them to one list. However, I want both adapters to have a header because the data in both lists relate to two different ...
1
vote
1answer
29 views

Refreshing ArrayAdapter onResume [notifyDataSetChanged() not working]

I am creating a contact list app using Fragments where one frag is a list of names in the contact list and the other is the rest of the details. Here is the class that displays the list of names ...
0
votes
1answer
35 views

Caused by: java.lang.NumberFormatException

In my application i am trying to display latitude and longitude of multiple points on google map from coordinates stored in my sqllite database. Here is my Map.Class where i display the point. public ...
0
votes
0answers
35 views

insert imageview in android chat bubble adjustable

I would like to do this on my android chat but I can not get my picture fit my bubble. -I have a LinearLayout, and his background is a bubble 9patch -within this, I have a imageview, insert the ...
0
votes
0answers
42 views

Android-The content of the adapter has changed but ListView did not receive a notification.content adapter is not modified from a background thread

I am getting this Exception when I am Modifying a listview. The content of the adapter has changed but ListView did not receive a notification. Content adapter is not modified from a background ...

1 2 3 4 5 72
15 30 50 per page