Questions tagged [custom-arrayadapter]
69 questions
0
votes
1 answer
listview item removes but comes back when app restarts
I have a custom arrayadapter I'm able to create my listview and add items to it. I create a context menu to delete the item that is long pressed on, the context menu launches I choose delete the item goes away (I celebrate) I restart the app and the…

branedge
- 115
- 3
- 14
0
votes
1 answer
ArrayAdapter with contained data
I am trying to implement an ArrayAdapter with the list data contained inside the class itself instead of being passed by the calling activity. The constructor will only include the context, like so:
public class customadapter extends…

iSofia
- 1,412
- 2
- 19
- 36
0
votes
1 answer
Missing first item of ListView after screen gets full
The first item of the listview get lost after screen fills with rows at time of scroll needed. Till 7 or 8th item the first row is visible but after 8th row it gets missing. After scroll starts everything gets normal except the first row lost. Below…

Ömer Faruk
- 15
- 5
-1
votes
1 answer
Populate listview with multiple columns from ms sql procedure
in my project it is necessary to implement loading data from ms sql procedure into listview. I created my listview layout, configured the adapter according to this example -…

Nikolai
- 17
- 5
-1
votes
1 answer
setText() displays text "null" on screen , but log displays value using custom Arrray Adapter
I ran into the problem with my app again. I use NSD API , to discover and connect to the services and I use array adapter to get data about services such as IP address and the name of the service and print it on the app screen. so far I don't have…

Grace
- 11
- 4
-1
votes
1 answer
How to delete item from ListView while using Custom ArrayAdapter w/ Dialog
Some Context: I have a Custom ArrayAdapter for a ListView that has 3 parameters Name, Edit Button, Delete Button. I have setup onClicks in the ArrayAdapter to be able to detect which profile is being clicked with the specific edit/delete button…

Jolopy
- 82
- 2
- 11
-1
votes
1 answer
Unable to save ListItem checkbox status to SQLite
I am working on a ListView which has ImageView, TextView, and Checkbox.
I want to save the Checkbox status to SQLite. Right now changes lost when I change the Activity or reload the application.
I am using CustomArrayAdaptor. Here is the…

Er. Anuj Saini
- 27
- 8
-1
votes
1 answer
Adding custom ArrayAdapter to expandable list view
I try to pass my custom array adapter in the expandable list view but I am getting the problem null point exception. In the group view i pass my custom arrayadapter instead of the string but the childview is still the string. This is working fine…

Aashish Gautam
- 1
- 3
-3
votes
1 answer
How to access variable in a Activity, from childView?
I have a view as following hierarchy.
The main Activity has
ArraylistArrayListArraylist()
I want to access and change the data of the Arraylist from the button of the Card view. I'm using Custom ArrayAdapter. So is there are any way to do this? …

Madawa De Silva
- 1
- 2