The baseadapter tag has no wiki summary.
0
votes
2answers
31 views
Updating custom view list with search result data using baseadapter
Can anyone guide me on how to update a custom list view with search result data while using baseadapter.
My code is
public void onTextChanged(CharSequence s, int start, int before,
...
1
vote
0answers
14 views
CustomListPreference is not saving any options and not setting the default values
From the sameple custom row in a listPreference? i tried to create my own custom listpreference but nothing is getting saved or doesn't get populate old indexes.
public class FontSizePreference ...
0
votes
0answers
5 views
ReOrder Custom ListView in android
I have a Custom List view made using BaseAdapter in Android. I have completely implemented the ListView Now I want to add the drag and drop functionality in that list view for reordering.
How can i do ...
0
votes
0answers
19 views
Android BaseAdapter from hierarchical model
I am using a hierarchical model as a data representation. so, every vertex has a list of child-vertices. It is like a file-explorer, with many layers. the structure is not fully known at the view ...
0
votes
1answer
17 views
Runtime Error - Android Getting Screen Size
i have a class on an Android Project called Image Adapter which extends BaseAdapter. Im trying to get the Screen Size. Here is my Code:
public class ImageAdapter extends BaseAdapter {
private ...
2
votes
1answer
21 views
tabgroupactivity in android with BaseAdapter
I have to develop an one android application.
Here i have using tabgroup activity.
i have using following code on my adapter file:
convertView.setOnClickListener(new OnClickListener() {
...
0
votes
0answers
9 views
error during removing row from custom list view using swipedismisslistviewtounch listener
06-17 11:34:38.978: E/AndroidRuntime(5416): FATAL EXCEPTION: main
06-17 11:34:38.978: E/AndroidRuntime(5416): java.lang.UnsupportedOperationException
06-17 11:34:38.978: E/AndroidRuntime(5416): at ...
0
votes
1answer
35 views
failed to connect to /192.168.1.** (port ****) after 2000ms
I am new in android. I am working Socket in android. I written these code below ,
but it gives exception in connecting server as,
06-15 04:48:34.615: V/tcpserver(801): failed to connect to ...
1
vote
2answers
34 views
Items in listview not setting up using BaseAdapter and SimpleAdapter
I'm facing problem with setting up the items in ListView, I'm using an Async task for updating the items. Here is what I have done so far.
Async Task onPostExecute()
@Override
protected void ...
0
votes
2answers
34 views
how Center elements in GridView?
I have an requirement of :
I have a layout like:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
...
0
votes
1answer
52 views
how to handle empty value from ArrayList in baseadapter android
i have an ArrayList and one BaseAdapter to inflate my layout, when one array from arraylist is empty, the value on layout show text "NaN%" it is so annoying, i want handle an empty array from my ...
0
votes
1answer
37 views
Refresh listview by clicking a button on android
I'm trying to refresh my listview by clicking a button. I used notifyDataSetChanged But it is not refreshing.
static final String TAG_RESULTS="results";
static final String TAG_TWEET="text";
static ...
-1
votes
0answers
32 views
Cannot get headers working with SeparatedListAdapter [duplicate]
I am using the below class for list view headers, but here in this line headers = new ArrayAdapter<String>(context, R.layout.list_header); we are using xml , but i want to do this progrmatically ...
0
votes
0answers
90 views
NullPointerException in ListView in Android 2.3.3
I've a ListView that has different types of views: Spinner, EditText and Button to DatePicker.
To differentiate the different elements, I added a tag in my BaseAdapter to this ListView.
To get the ...
0
votes
2answers
64 views
How to Refresh ListView in Fragment that is filled with BaseAdapter?
I want to Refresh a ListView in a Fragment when a Dialog is closed. Until now the refresh only works when I restart the app and I don't really know why.
Here are the classes:
This is the Fragment ...