Questions tagged [android-recyclerview]

The RecyclerView widget is a more advanced and flexible version of ListView.

0
votes
0answers
13 views

onBindViewHolder execute first ViewHolder only

I have three ViewHolders CardViewHolder, TitleViewHolder, GridViewHolder, for switching between it when user choose a specific layout, everything working good expect when I trying to switch to Title ...
1
vote
0answers
14 views

How to load more videos in recyclerview like images?

In my program there are both images and videos loading in the recyclerview. I want to make a system so that the recyclerview can store more feeds so that when we scroll back we do not have to wait for ...
0
votes
0answers
8 views

UltimateRecyclerView not working within NestedScrollview

Similar questions for RecyclerView were asked few times in past & I also have tried that solutions to my code but still I'm not able to find actual solution for my issue. Here is my code for xml, ...
0
votes
2answers
17 views

Failing to get the value of an EditText in ViewHolder of RecyclerView

In my app, I have a RecyclerView with editable EditText views as part of the ViewHolder, see picture: The user can edit the values of the EditText views. To save the changed value back to the ...
0
votes
0answers
9 views

RecyclerView as collasping toolbar

I have a recyclerView and framgeLayout inside my linearLayout manager. FrameLayout is a container for some fragment, whis has recyclerView inside (scrollable). And I want to make this recyclerview ...
0
votes
0answers
19 views

How to implement EditText search in recyclerview?

I am have 2 recyclerviews in my Activity, main recycler loses visibility when I input text in my Edittext search and second recycler appears with all the data i need. I have a problem in implementing ...
0
votes
0answers
19 views

Glide v4 RecyclerView Preload Images not displayed

I have started implementation of Glide in my existing project and have been going through docs and examples. I checked sample app of flickr and am trying to preload images just like it. I am ...
0
votes
2answers
20 views

Recyclerview stay at position after item click

Heres my problem... I have created an RecyclerView and implement an OnItemClick listener. Everything works, but my RecylerView scrolls every time up to the beginning when i click an item. Is there a ...
1
vote
1answer
46 views

How to fix timer when scrolling on recyclerview on android

WHY NOT ANY PEOPLE HELP ME?! In my application i want use multiple CountDownerTimer for show offer times into RecyclerView. For write this application i used Kotlin language. I write below codes, but ...
0
votes
0answers
24 views

Make horizontal RecyclerView pagination inside vertical RecyclerView just like Google's Play Store Apps home page

I'm trying to make item pagination for each horizontal RecyclerView populated by vertical RecyclerView. So that lazy loading of each horizontal items list can be done. I have tried using '...
0
votes
0answers
8 views

Android RecyclerView Layout Spacing Issue

I'm trying to create a recyclerview layout that populates from a Room database where each entry consists of an imageview and a textview. There's some strange spacing above and below the imageview. Any ...
0
votes
2answers
28 views

parse settext data to urlconnect

im having problems understanding how to parse data, i have a recycleview that get its text set from a companies array, when the user clicks on a card the companynumber of that card should be attached ...
0
votes
1answer
30 views

Use the setText of RecyclerView for a url connect

I feel like this should be obvious but I can't figure it out, I have a RecyclerView that gets the text set from a company array when the user clicks on one of the cards I want to send the company ...
-1
votes
0answers
7 views

How pass data from Firebase RecyclerView to activity?

i want to pass the data from recycler view to another activity when on click the recycler view. I can go to the next activity but i dont know to pass the data.
0
votes
0answers
10 views

Different question number shown in onBindViewHolder when used using a model class object to retrieve the question number

At currentQuestion variable question number shown is correct but when the code flow reaches to currentQuestion.getAnswerNr() question number increases by one thereby returning the answer number of the ...
0
votes
1answer
22 views

Changing one ViewHolder item also affects to other items

I have a simple mp3 player based on RecyclerView. There is an Adapter and ViewHolder for handling tracks in playlist. public class TracksAdapter extends RecyclerView.Adapter<TracksAdapter....
0
votes
1answer
21 views

Recyclerview selection + clickable items

I recently implemented a small RecyclerView setup and tried out the recyclerview-selection library. So far, the selection works fine but I also connected a click handler on the recyclerview items and ...
0
votes
0answers
15 views

Use RealmObject with Recyclerview ListAdapter

Since RealmObject can only be accessed within the thread they were created it is not possible to use it with ListAdapter because of the use of AsyncListDiffer In this case you will get this exception ...
0
votes
0answers
19 views

Is there any way to remove item from PagedList and notify RecyclerView?

Is there any way to remove item from PagedList and notify RecyclerView without invalidating DataSource (not Room)? What I have tried: Store all model in own list, remove model from it when needed, ...
-3
votes
0answers
19 views

Send JSON Data From RecyclerView by click on button

enter image description here I Display Data In RecyclerView I want To save this data by click on button how can i do this using JSON volley
0
votes
0answers
17 views

Properly loading and recycling in RecyclerView adapter with infinite scroll

I haven't done much UI work for a while so after doing a coding exercise (link), I got the following feedback: App doesn't recycle the images properly Each time a bind call is made the image is ...
0
votes
1answer
28 views

reclyclerview disappears while switching fragment

I'm have a Bottom Navigation View with 3 options and fragments. when I go to the fragment that has a tabLayout with a recycler view inside, the first time the list is loaded correctly, however after ...
0
votes
0answers
21 views

How to increment points assigned to radio buttons while scrolling in RecyclerView

I'm working on a quiz app where there is one question and five radio buttons per CardView in a RecyclerView. Each radio button has an assigned score. I want to be able to add/ increment the points as ...
0
votes
0answers
16 views

Populating a RecyclerView with a Firestore subcollection?

Database Screenshot I currently have a database that is set up like below, Raters- |_userID1 | |_Car1 | |_Car2 | |_Car3 |_userID2 |_Car1 ...
0
votes
1answer
13 views

Build a two-dimensional (Recycler)View with elements which span multiple cells

I'm breaking my head on what would be the best way to develop this element: - It has to scroll horizontally and vertically as a whole - It consists of multiple rows: uneven rows are headers, uneven ...
0
votes
2answers
37 views

RecyclerView with DiffUtil (ListAdapter) blocks UI thread

I am using a RecyclerView with ListAdapter (which uses AsyncListDiffer to calculate and animate changes when list is replaced). The problem is that sometimes when I call submit() to update the ...
0
votes
0answers
24 views

Android RecyclerView with EditText in each cell giving strange scrolling behavior when edit text focused

I have a view that contains multiple recycler views that scroll horizontally. Each recycler view cell contains a EditText control. When I scroll the recycler view over to the right and tap a EditText ...
2
votes
2answers
54 views

ListAdapter not refreshing RecyclerView if I submit the same list with different item order

I am using a RecyclerView with ListAdapter (which uses AsyncListDiffer to calculate and animate changes when list is replaced). The problem is that if I submit() some list, then re-order that list, ...
2
votes
2answers
38 views

RecyclerView scroll to top with AsyncListDiffer not working

I am using RecyclerView with AsyncListDiffer (calculates and animates differences between old and new items, all on background thread). I have a button to sort the list. After I sort it and re-set it ...
-2
votes
0answers
25 views

Recycler View Error adding data Why is it an error? [duplicate]

** Adapter.class ** The result is well over the DB But Error...... Help Me!! private ArrayList<Data> mList; private Activity context = null; public RecyclerAdapter(Activity context, ArrayList&...
0
votes
2answers
47 views

How to select multiple items in RecyclerView and put them into a List

I have a list of Objects and those are populated in my RecyclerView, what I want to do is, I need to grab many of them to convert them into a List. For example : List of fruits : Green Apple Pear ...
1
vote
0answers
46 views

Combining Two Arrays of Model Class Type Firebase Android

Hi I am trying to populate recycler view by betting data from two different nodes in firebase. However I am getting two separate listings... one of each node. I want to combine them and show as a ...
0
votes
2answers
38 views

How to use multiple countDownTimer into recyclerView on Android

In my application i want use multiple CountDownerTimer for show offer times into RecyclerView. For write this application i used Kotlin language. I write below codes, but when scrolling on ...
-6
votes
0answers
38 views

How to Make and android application like Flipboard News App [on hold]

i want to make and android app like Flipboard news app. Can please someone suggest from where can i get help or demo code or what should i search to implement my app Thanks in advance
-3
votes
0answers
47 views

Dynamic Views in ViewHolder of RecyclerView

I’m creating a recycler view with an array of custom object, but I need to draw different views in the same viewHolder. I mean for each object, I need to draw N views, but I want to draw view holder ...
0
votes
1answer
35 views

Best practice for displaying list inside RecyclerView.ViewHolder?

I am wondering what would be best practice to display small list of items inside ViewHolder? Should look something like this:
-1
votes
0answers
32 views

Android Recyclerview inside edittext [on hold]

I am attempting to parse some like medium recyclerview above softkeyboard,but i'm no idea how to do. i'm try popupwindow , but is not good.
0
votes
2answers
59 views

How to pass Adapter to Model class in android

In my application i want use multiple timer into recyclerview. For not reset timer when scrolling on recyclerview's items i write CountDown timer into model class. For this i should call ...
0
votes
1answer
58 views

Fragment and RecyclerView errorRecyclerView$ViewHolder.shouldIgnore()

I used to have a main activity which displayed a recyclerView, and it worked perfectly. I then decided to make a fragment list with a recyclerView instead of just the recyclerView, to allow some cool ...
0
votes
2answers
36 views

NestedScrollView getting stuck with recyclerview

I am using NestedScrollView and I have 3 recyclerviews . I am parsing json and set data in recyclerview, now the issue is that in my last recyclerview I have set pagination feature, so until data is ...
1
vote
1answer
16 views

NotifyItemRemoved not working properly using firebaserecycleradapter?

I'm using firebase-ui to retrieve from firebase and I want to remove from displaying all the status that are equal to unlive I don't want to delete it from firebase database but only removed it from ...
0
votes
0answers
23 views

Trying to putting on click on recyclerview items. to go on other fragment? [duplicate]

I am getting error when i am trying to put clicklistner for my recyclerview. to open information about that particular item in new fragment. Here is my code: Model Class: public class Banner ...
0
votes
0answers
42 views

How to multiselect in recyclerview in android?

I am working with recyclerview. I want to add multiselect to my list. First click should be long click after that normal click. Long click is working fine but single click is not working. Click ...
0
votes
1answer
74 views

Populating Recycler View From Two Different Nodes in Firebase Android

I am trying to populate my recycler view from two different firebase nodes but am getting error "Can't convert object of type java.lang.Long to type com.example.manishgupta.xxxx.models.GroupsListModel"...
0
votes
0answers
24 views

Scrollview inside recyclerview not working

I am using recyclerview with fragment. One of my fragment starts a new fragment which shows a doctor profile with image and long about me text. Everything working fine except vertical scrollview. This ...
1
vote
0answers
106 views

Calling nested recyclerview adapter to get data

I'm trying to make workouts log app. I designed adding new workout as shown on pic below: NewWorkoutActivity In AddWorkoutActivity there is a recyclerview of exercises with ExercisesListAdapter. ...
0
votes
0answers
12 views

Re-Render my RecyclerView causes Slowness

I've an Activity A that i run a Get (from HttpOk) and send the itens to an RecyclerView. Everything runs fine on first time: onCreate, Start, Resume, Etc.. So, the user select itens that he want "buy"...
1
vote
1answer
51 views

OnClickListener for headers of RecyclerView is not getting invoked

I want to sort my recyclerview on click of a column header (e.g if Name and age are two columns of the recyclerview, I want to sort the list when I click on header Age). I have added the headers by ...
1
vote
2answers
63 views

How to use multiple timer into recyclerView on Android

In my application i want use multiple CountDownerTimer for show offer times into RecyclerView. For write this application i used Kotlin language. I write below codes, but when scrolling on ...
0
votes
0answers
19 views

on RecyclerItemClickListener snap item in center

I want to scroll in recylerview when i click on item, so that item comes in center fully visible and other items are partially visible. (as show in first picture) i tried to do it on scroll(fling) ...

http://mssss.yulina-kosm.ru