Questions tagged as 'recyclerview'

2
answers

RecyclerView does not enter the onCreateViewHolder

Good community, this is a long question, but I bring the solution in it, now you will see. I'm doing a screen to bring some data from firebase to RecyclerView , up to here all right, there is a screen that does the same as in wha...
asked by 08.12.2017 / 20:33
2
answers

Call a callback to a fragment from an adapter

I hope you can help me, I have been looking for a solution for weeks and I only need this to finish a project. I want to call a method (UpdateItemcount) but I can not do it from my adapter. I have tried in several ways but it involves changing t...
asked by 30.10.2018 / 05:58
1
answer

How can I empty a RecyclerView before refilling it?

I have a RecyclerView in which I load the messages of a chat, and what I need is that when the user connects to Internet , the RecyclerView erases the messages that you have already saved and add the new ones that are obtained fro...
asked by 04.09.2018 / 21:46
1
answer

Problem loading images in a Recyclerview with firebase

I'm new to android and I'm trying to work with firebase. The problem I have is that when I load the images in a recyclerview it takes a long time to load and I have no idea how to fix it to show the images I'm using glide I would appreciate y...
asked by 08.08.2018 / 07:14
1
answer

Paginacion in RecyclerView Android Java

I find the following RecyclerView RecyclerView lstMovsWallet = (RecyclerView) findViewById(R.id.lstMovsWallet); lstMovsWallet.setLayoutManager(new LinearLayoutManager(MovsMobileWallet.this)); AdapterCobrosP...
asked by 18.01.2018 / 15:05
2
answers

Problem with recyclerView (Kotlin)

At the moment of creating an adapter for a recyclerView I could not make it recognize the layout that happened to it and the elements that are in it. class adapter_wpHome(val mItems: List<content_wallp>, val context : Context) : Recycler...
asked by 23.01.2018 / 05:13
1
answer

How to separate elements of a RecyclerView?

I have implemented a RecyclerView correctly but the elements are completely together, I would like to know how I can separate them as if they were a MarginBotton or something like that, thanks.     
asked by 20.11.2017 / 03:55
3
answers

How do I make an event to a specific View in a RecyclerView?

I have the following code in onCreate() of the activity that contains the RecyclerView : protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_vie...
asked by 20.11.2017 / 16:48
1
answer

To which element of the Recycler does the component that activates the event belong?

Good, I have the following code where a RecyclerView and events are implemented to the buttons of the card_view.xml that make up each element of the list of the Recycler, however, I would like to know how to know which card_view of...
asked by 20.11.2017 / 18:05
1
answer

Error Can not resolve symbol 'EventoOnItemClick'

I'm trying to put OnClickListener events to the items in a recyclerview, already in the previous question have oriented me with these steps , however I think that something is not right in the creation of the interface since it is giving...
asked by 18.10.2017 / 23:07