Questions tagged as 'android-adapter'

0
answers

How do I not repeat data from a ListView in an Android application?

When you use a ListView to display the name and image of some data that is in the Cloud Storage for Firebase , an Android device is starting to repeat itself images and names, even ListVIew referring to different data. Researching this is...
asked by 22.09.2018 / 23:36
1
answer

Insert a counter within the ListView

I'm using a CursorAdapter to populate my listView, dento of each item in my listView there are two buttons, one to add and one to decrease the value, and a textView to display this value, I wanted to know how to handle this. item.xml xml &l...
asked by 08.07.2018 / 04:49
0
answers

SearchView does not return search results in a listView

Good afternoon! I am trying to implement the search option within a list of songs that I have inside the app, I did some searches on the internet but I still could not get the search to return results in the list, with the code below, when enter...
asked by 07.07.2018 / 19:39
1
answer

Delete recyclerView item from Adapter

I'm trying to apply a feature by clicking an icon inside a list of a RecyclerView. By clicking on the icon, I register the acceptance of the condition, if not accepted, the "whole item" should be excluded from the list. I'm trying to do this fro...
asked by 03.07.2018 / 19:42
0
answers

SearchView MenuItem on Android

I'm trying to implement the search function inside a ListView in my app, but I'm missing some connection with the adapter that I can not figure out. With the code below, when typing in the search item no item is found, there is probably somethin...
asked by 11.06.2018 / 14:10
0
answers

Android - Lock item of a GridLayout and unlock after a certain time

I have GridView that has a list with several items arranged. Clicking on one of the items my app triggers a request for a WS. I would like that at the moment of the click the item that was clicked was disabled or without the click functio...
asked by 26.04.2018 / 02:14
0
answers

Array Adapter is not initialized in android

Good evening!    I have a problem when trying to call a DialogFragment that presents me with a list already with the fixed values in a String [] array, but when I run the app Fragment is simply not instantiated and the getView method is not call...
asked by 26.04.2018 / 02:37
0
answers

Update data from a RecyclerView - AndroidStudio

I am having to create a database and display it later in a RecyclerView. I register my clients in one activity and show them in another. The problem is that when I register my clients, it does not immediately appear on the other activity, I have...
asked by 31.03.2018 / 00:47
0
answers

Firebase AutoCompleteTextView with CustomAdapter

I have a Custom Adapter in an AutoCompleteTextView that is pulling the data from Firebase, so far so good. The problem is that the suggestions are only filtered when I add the data manually like this: private ArrayList<CustomerTitle>...
asked by 14.02.2018 / 02:30
1
answer

ExpandableListView: change the header title when clicking on an item in the list

I need to get the name of the items from the ExpandableListView list, and settar in the header according to his position, but he is only getting the last one. Here is my code below: MainActivity public class MainActivity extends App...
asked by 22.02.2018 / 15:40