All Questions
Tagged with android-studio android-recyclerview
1,333
questions
0
votes
0
answers
25
views
Duplicating Last Item of First Page and not getiing last item in RecycleView
i am making app from Laravel Api, i am stuck into problem that i am fetching the list of posts but when i scroll down to get second page i am not getting last post instead getting last post of first ...
0
votes
0
answers
10
views
Dynamically Handle Android Child Recycler View Data
Is it possible to handle the child recycler view data dynamically without refreshing parent item list?
I want to update my child view data after selecting a parent item. I don't want that same child ...
1
vote
1
answer
31
views
NotifyItemRemoved() not working properly. Deleting wrong element
I have a list of 8 countries and i want that when the arrow image of the first country is clicked then the second country name (china) should be deleted from the list. but instead 3rd country gets ...
0
votes
0
answers
26
views
How to display deserialized JSON data in a RecyclerView using Kotlin?
I am currently working on a project that requires a search feature that retrieves JSON data from a website. The app is supposed to display that data using a RecyclerView. However, Android studio ...
0
votes
0
answers
49
views
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object ref
I am working on a chat app using Android Studio and firebase, so to differentiate between message sender and receiver I have tried the following codes :
MessageAdapter:
import android.content.Context;...
0
votes
0
answers
14
views
How to pass an image using the SQLite database And retrieve it in recycleview
.. I could not pass the image to the sqlitedatabase. I am trying to pass an image and retrieve it to recycleview
How to pass an image, in (model class)Do use (String) or (byte[]) for the image ،
And ...
0
votes
0
answers
25
views
How can I display a custom MaterialAlertDialog in a RecyclerView that is in a Fragment?
I created a RecyclerView with a PopupMenu in a Fragment, when you click in "Editar" i wanted to display a MaterialAlertDialog with an EditText to edit a text, but I can't because everytime I ...
0
votes
0
answers
22
views
RecycleView not showing
I am developing an android Studio app, and i want to show with a recycleview the pets that the user has in his profile, i tried the same recyclerview in another empty activity and it shows, so the ...
0
votes
0
answers
21
views
Scroll Dynamically added recycler view to position 0
I have dynamically added n number of recycler views to linear layout. but each recycler view scrolls to end posion on each start up. i want them to show at position 0.
here's my code :
for(int i = 0; ...
1
vote
1
answer
52
views
Android Studio - java - in onBindViewHolder, Line breaks and white space being added to RecyclerView
Description:
I'm encountering an issue in my Android app. I have a List of text document titles. Clicking on one item in the list opens the text document in a RecyclerView - the document is loaded ...
0
votes
0
answers
36
views
app in Android Studio that is extremely slow when changing from one activity to another
I have an app in Android Studio that is extremely slow when changing from one activity to another. The first activity is a recyclerview where some values are entered (a variable number that depends on ...
0
votes
0
answers
35
views
How to scroll all the way bottom of the nested scroll view?
I want to scroll all the way bottom of the nested scroll view. In my nested scroll view i am having a recycler view and below it also some view but it is scrolling only till the last item of recycler ...
0
votes
0
answers
43
views
how to remove multiple selected items from a recycler view?
i want to remove multiple items together from recycler view on one click (delete button) the issue is when i am trying to delete multiple selecting items it is only deselcting the items not deleting ...
0
votes
1
answer
36
views
Android Studio java - RecyclerView Adapter Returning Empty Song List in onSave
The app is creating a "set list" of songs as the user swipes the song from a list of 'candidate' songs into the final 'set list of songs'. I can see that this "set list" is ...
0
votes
2
answers
52
views
Radio Button inside Recyclerview is not working properly in Kotlin
Adapter Class
--------------
class FilterByDataAdapter(
val filterByData: (ArrayList<String>) -> Unit, val filterByDataRadioBtn: (String) -> Unit
) : RecyclerView.Adapter<...