A concrete BaseAdapter that is backed by an array of arbitrary objects.
0
votes
0answers
5 views
filter for custom ArrayAdapter doesn't setting up
I use filter for my custom adapter. Adapter class looks like this :
public class ContactAdaper extends ArrayAdapter<ContactItem> implements Filterable{
View view;
ContactHolder ...
0
votes
1answer
10 views
Nullpointerexception when using listview and Arrayadapter
Hi i am trying to populate the calendar events into a dailog with listview, while setting the adapter to listview i am getting nullpointerexception . below is my code
final Dialog dialog = new ...
0
votes
0answers
10 views
Unable to get all calendar events into listview
Hi in one of my fragment i wanna display all the calender events into a listview,this listview is below my custom calendar.. doing as below
gridview.setOnItemClickListener(new OnItemClickListener() {
...
0
votes
1answer
32 views
ListView with multiple kinds of layouts
My situation is as following. I have two layouts
First:
<RelativeLayout ... >
<TextView id="@+id/textview1" .../>
<TextView id="@+id/textview2" .../>
<ImageView ...
0
votes
1answer
17 views
Adapter for Gallery that is backed by a list plus one extra item
I have a Gallery view in my activity, and I had a custom adapter I written for it that is backed by a list of strings. The way this works is that I have a list of strings and I have an "ImageStore" ...
1
vote
2answers
42 views
OutOfMemoryError using ArrayAdapter in ListView
I created a ListView using an ArrayAdapter that implements the getView() method in this way:
public View getView(int position, View convertView, ViewGroup parent) {
View rowView = convertView;
...
0
votes
0answers
19 views
Create a list view from models in android
In my app I've an activity that store some objects. Now I need to use this object to create a list view in another activity.
My object are the following:
Promo.java
package ...
0
votes
0answers
17 views
how to change array according to the value selectected in another array in another class
I have an array list in which the values should be mandatory according to the items selected in another spinner which is also an array
if I have an array list which is used in class A.JAVA
...
0
votes
2answers
27 views
ListView is giving an error displaying the files in a directory
Here's my code:
package com.test.testing;
import java.io.File;
import java.util.ArrayList;
import java.util.Date;
import android.app.Fragment;
import android.content.Context;
import ...
0
votes
1answer
29 views
how to get Checked Items from list view that was filtered from the adapter
I have a list view with a custom ArrayAdapter.
I have created a custom chackable linear layout and so far every thing works great with this code:
public ArrayList<FBFriend> getSelectedFriends()
...
0
votes
1answer
24 views
Visibility of TextView is set after scrolling and with bugs
I created simple ListView with two TextViews - one for title (always visible), and one for note (not always visible). Problem is that visibility is set after scroll, and after many scrolls every note ...
0
votes
1answer
33 views
Android - notifyDataSetChanged() not working
I have created a custom ArrayAdapter that displays a list of questions. I query the db, transform that data, pass the data to an array, and then pass the array to the ArrayAdapter to display my list. ...
0
votes
0answers
7 views
ArrayAdapter working on external array
I want to create a special preference that shows up as a list. I do not want a ListPreference. I want a single preference to contain multiple values showed on a preference screen as a list. That is ...
0
votes
3answers
34 views
How to update a list adapter
I am creating an android application where i show a list of items and the user can select from them. I am trying to update list if items but the application is crashing all the time, no matter what ...
0
votes
0answers
13 views
Android ScrollView Items expanding with animations
I have a listview in android with custom views for the elements, and I override the listview's arrayadapter to use the viewholder pattern.
The list elements are linearlayouts. These represent cards ...