Questions tagged [stickyrecycleview]

Use this tag when you made a RecyclerView that has something above or below it and it remains there, i.e., it's sticky and you get some error regarding that.

33 questions
17
votes
5 answers

RecycleView leaves empty space at the bottom because of toolbar

Update: Actual issue is with CoordinatorLayout not with RecycleView. Instead of using RecycleView I tried TextView inside ScrollView and it is the same issue. Something is not aligned if you have Toolbar as ActionBar and using CoordinatorLayout…
5
votes
1 answer

Stick an item to top of recyclerview

I have already read many question on SO and Google regarding Sticky headers in a recyclerview. However, most of them sticks the complete list item on top. I just want to stick part of my list item to top of recyclerview until the complete item is…
Ali_Waris
  • 1,944
  • 2
  • 28
  • 46
2
votes
3 answers

Prevent a child in ScrollView from being scrolled out of the screen

Somehow I came across Reddit app, and wondered how their Scrolling mechanism works. As you can see from the gif, there is a Menubar (Up/Downvote-comment-share bar) that always locates within the screen and can’t be scrolled out of the screen when…
2
votes
0 answers

summing values from recyclerview checkbox android

I am a newbie in android programming and I developing an app which sums up the prices a customer selects. My problem is to detect which checkboxes where selected by the user. MyAdapter package com.example.system2.tranxav.adapters; import…
2
votes
2 answers

How to sort items in RecyclerView depending on a Date

This is what my screen should look like. I added this library https://github.com/ShamylZakariya/StickyHeaders and tried to do it in similar way. My model looks like this: public class Transaction { private int id; private Date createdDate; private…
joe
  • 1,341
  • 4
  • 21
  • 32
1
vote
0 answers

Elements are not added to the Recycleview

I would like to add elements of ArrayList to the Recycleview. But when I run the emulator, nothing appears in the recycler. MainActivity.java private FragmentManager fragmentManager = getSupportFragmentManager(); private FragmentHome fragmentHome =…
zyoon
  • 37
  • 2
1
vote
1 answer

Retrieve a nested object from Firestore and put into RecycleView in Android?

I am trying to populate a RecylerView in Android with attached image data structure in a single document. I want to list out each name, district, image for each ID. It needs to be done without breaking down in the sub-collection. Is there any…
1
vote
1 answer

Not able to push the header Data by Upcoming Header Data in StickyRecyclerView

I try to make sticky recyclerView without using external library ,till now I am able to Display the List of Items in the Recycelerview with Header .But When I scroll the recyclerview , the Initial HeaderData is Not Pushed By upcoming Header Data.…
Ghimire
  • 948
  • 1
  • 9
  • 28
1
vote
0 answers

Sticky Item Decoration that draws over items RecyclerView

I'm implementing a sticky header item decoration, but I'm trying to make the header overlay the item. I'm basing the code on timehop's library. https://github.com/timehop/sticky-headers-recyclerview With how it's designed, the item decoration will…
advice
  • 5,778
  • 10
  • 33
  • 60
1
vote
0 answers

How to create Sticky recyclerview in android?

I want to create Sticky recycleview with multiple headers , the header are working perfectly fine but the recyclerview doesn't make them sticky. This is my first time with Sticky recycleview headers . And also i would like to know is this the proper…
user11523459
1
vote
2 answers

Set Sticky Header and Items Layouts Recyclerview

I want to build a complex layout using recyclerview android. In the layout, I want to have a camera button to the top left fixed and a recyclerview wrapped around it with gallery images. I have checked flexbox layout manager for recyclerview but it…
Andromeda
  • 230
  • 1
  • 7
  • 22
1
vote
0 answers

Sticky Header with Loading Progress bar

I created a recyclerview using some Sticky header and Databean library.But I want to use Loading Progress bar for refresh the list.I have two Adapters first ItemViewBinder,second HeaderView Binder.And Databean is a list List items =…
TsigumEnes
  • 131
  • 1
  • 14
0
votes
0 answers

Android RecyclerView Sticky Header

I want to make recyclerView with sticky header without external libaray and I refer to this. Everything is work. But when I change the header with some alpha, something went wrong The header will duplicate when the view overlay. Here is the demo…
GHH
  • 1,713
  • 1
  • 8
  • 21
0
votes
0 answers

Kotlin:How to create sticky header in RecyclerView layout?

I'm looking for a way to create a sticky header for an android app that show user the header portion while they can scroll through the list. Is there a way I can keep the header sticky inside RecyclerView? I did look into itemDecorator where it draw…
0
votes
0 answers

How to stick Linear Layout(with child as recyclerview) in ScrollView at top of screen

How to stick linear layout at top and allow nested scrolling in Recycler view after it get stick to top of screen. Linear layout should stick as header in ScrollView then allow its children nested scrolling in recyclerview Below is image of how…
1
2 3