Questions tagged as 'arrayadapter'

1
answer

How to refer from a ready adapter to the context that inflates it

   Good I have a problem and it is that when inflating a list I am created an event on click of an item, this works without problems: it opens me without problems the following window, but here comes the problem, using the same context no...
asked by 04.06.2018 / 19:05
1
answer

Error linking an adapter callback to my recycler

I hope you can help me, I have an adapter of a recycler in which I want to send a callback to its fragment that contains it, but I have a problem when linking the adapter. MY ADAPTER public Cartadapter2(Context context, List<Cart> car...
asked by 29.10.2018 / 19:35
1
answer

Fill listview

I am trying to fill listview from arralylist but it generates an error and closes the application: devices.get(0)=Cannot find local variable 'devices' If I comment the line listView.setAdapter(adapter); and do a debu...
asked by 06.06.2018 / 19:15
0
answers

"java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive notification" On an AutoCompleteTextView

Currently I have a form in which I have a AutoCompleteTextView element, to fill this View I have an adapter called AutoCompleteStoreAdapter in which, using the getFilter () method, I get the data from the GetAllStores class that extends fr...
asked by 13.03.2018 / 20:07
1
answer

Firebase data is not displayed

Very good to everyone. I'm trying to load and display the firebase data in a listview hosted in a fragment. To begin with, I have my Class Bars as follows. public class Bares { String nombre; String direccion; String foto; p...
asked by 09.12.2017 / 15:36
1
answer

Error declaring ArrayAdapter as public (global) [closed]

I have an error in declaring ArrayAdapter as public (global), when I do it within a method it works perfect, but since public0 gives the following error. Someone helps me solve it please.     
asked by 16.11.2017 / 02:44
1
answer

Custom adapter

hi what I hope you can help me I have an activity with three spinners, 1: with the option of quantity (numbers), 2: with products and 3: with the price of the selected product and a button to add to the list, I have my custom listview and the da...
asked by 08.01.2018 / 07:21