Linked Questions

-4 votes
2 answers
386 views

I want to fields of arrayList to listView but how can I write adapter I dont know. Please help me!!! I need a my adapter class . I have to see on listView tutar:1.34 kalem="xx" Class: public class ...
user3129457's user avatar
78 votes
10 answers
174k views

I have a little problem with ListView. How do I clear a ListView content, knowing that it has a custom adapter? edit - the custom adapter class extends BaseAdapter, it looks like this: import ...
Mohamed Gallah's user avatar
9 votes
4 answers
15k views

I am retrieving values from server for autocompletetextview, I am getting the list of user names along with their user ids, now what I want is when i select any username from list I want to get user ...
Rajesh Panchal's user avatar
0 votes
1 answer
9k views

this is my code and it's working good. i want to get multiple values (including image address) from my JSON data and show them in each row of my listview but i couldn't do that i just could get one ...
Siavash's user avatar
  • 21
0 votes
3 answers
2k views

I have a ListView that is filled with a dynamic set of data each time the Activity is created. For simplicity's sake, lets say each ListView item is a employee's name. Under the hood, each employee ...
Jake Wilson's user avatar
  • 91.8k
1 vote
2 answers
2k views

Here is my constructor for my custom BaseAdapter public MyAdapterAds(Activity activity, BaseAdapter delegate) { this.activity = activity; this.delegate = delegate; } I have an arraylist of ...
CQM's user avatar
  • 44.6k
-1 votes
1 answer
2k views

I have a ListView which is working just fine inside my Fragment. public class MyFragment extends Fragment { String[] itemname ={ "item 1", "item 2", "item 3"}; ListView my_list; @...
Machado's user avatar
  • 14.6k
1 vote
2 answers
962 views

Good Morning, I seem to be missing one piece of information (still learning on my first Android app) connecting an ArrayAdapter to a view. I create a Class we'll call MyInfoClass which is just some ...
GPGVM's user avatar
  • 5,637
0 votes
3 answers
1k views

When I debug the code, it is calling constructors in InviteListAdapter but it is not calling getView() method. I have tried multiple solutions available on stackoverflow but none of them works. Hope ...
Keyul's user avatar
  • 779
0 votes
2 answers
2k views

i have this into fragment in onCreateView(): ListView listView = (ListView) rootView.findViewById(R.id.listview); ListAdapter listAdapter = new MyListAdapter(); listView.setAdapter(...
Lo_Zio's user avatar
  • 15
0 votes
2 answers
834 views

I'm programming my first android application, and I ran into a problem: The app shuts down after I try to open a new Activity. Here's the activity code: package com.WNF; import android.os.Bundle; ...
Lars Van Beek's user avatar
0 votes
2 answers
1k views

I have an asynctask the places data into an a listView. It only places the last input into the listView. I am not sure what I am suppose to do to place the 3 strings into the listView item. I know I ...
user avatar
0 votes
1 answer
1k views

I want to create the following-like layout spinner - what I currently have - my code - private MiniProductModel selectedProduct; private Map<String, List<String>> ...
Alon Shlider's user avatar
  • 1,358
2 votes
2 answers
747 views

sorry for the poor choice of words, I dont know exactly how the Android terminology is, therefore google wasn't much help either. What I need to do seems simple: I have a table as part of my "main ...
Christian Ruppert's user avatar
1 vote
3 answers
650 views

I populate a ListView with a SimpleAdapter. Immediately after doing so, I have a function that tries to loop over the child views to set their background color programmatically. The problem is that ...
Jesse Skrivseth's user avatar

15 30 50 per page