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
0
votes
0 answers

Sticky header with Groupie android

does Groupie provide sticky header in RecyclerView in any way? I need to implement sticky header for my RecyclerView and I was wondering if Groupie have it out of the box before me getting deep into it. Thanks
DeKekem
  • 589
  • 10
  • 20
0
votes
0 answers

Dynamic recyclerView Android kotlin

In my app i communicate with REST API to get a list of folders and list of pages, each folder have a liste of children's(children can be another folder or a list of pages) so that mean inside 1 folder we can find a hierarchy of folders,in my…
Mactavisch
  • 3
  • 1
  • 4
0
votes
1 answer

In kivy Python, How can I fix the position of a layout manager's Dropdown?

In kivy 1.11.1. and python 3. I have in my root class a FloatLayout which contains a Label and a dropdown[text input + RecycleView], but when writing example in my text input, the text input goes up and hide my label, I would like it to be fixes and…
0
votes
2 answers

Why does this error occur when choosing Orientation in LinearLayoutManager RecyclerView with KOTLIN

On Fragment file: override fun onActivityCreated(savedInstanceState: Bundle?) { super.onActivityCreated(savedInstanceState) recycle_home.layoutManager = LinearLayoutManager( this.context , LinearLayout.VERTICAL ,false ) …
0
votes
3 answers

How can I make sticky headers in RecyclerView? (with or without external lib)

I'm using room db and I've a table from where I get a list of LiveData. In that table there is a column of Date where I store current date. Current date is selected by default, but user can also change the date when inserting data in the database.…
Nabeel Ahmed
  • 223
  • 5
  • 15
0
votes
1 answer

The deleted item is empty when invoke UNDO button on snackbar

I'm trying to implement the feature "Swipe to delete" item in recycleview. But the deleted item is can not restore correctly when invoke UNDO action on snackbar. This is error. https://i.stack.imgur.com/Az5kv.png I have tried to implement…
Huy Miracle
  • 1
  • 1
  • 2
0
votes
1 answer

Recycler ItemDecoration item appearing over recycler view items

I needed to add sticky header in recyclerview. I used RosterRecyclerItemDecoration and it gave me the desired result. The issue is that the Decorator item is appearing over the items of recycler view. I want to add decorator item in between of…
dev90
  • 7,187
  • 15
  • 80
  • 153
0
votes
2 answers

Multiple Headers in recycleview not working - why so?

I want to create recycleview with multiple headers , the first header is working perfectly fine but the rest of the headers are not working as expected. This is my first time with recycleview headers . And also i would like to know is this the…
user11437625
0
votes
1 answer

Data are not deleted from database

First of all I have to tell I am still learning Android studio and maybe I missed some important and obvious staff. Now I am facing with problem with my database, or maybe RecycleViwe i am not sure. I my app, I am trying insert data into db and only…
Milan
  • 3
  • 2
0
votes
0 answers

Implementing Sticky Header with FirestorePagingAdapter in Android

I tried to implement a custom sticky header with edubarr/header-decor with firestore paging adapter. i have created custom adapter by extending FirestorePagingAdapter to implement the custom sticky header. since Firestore paging adapter refreshing…
MathanG
  • 1,195
  • 10
  • 22
0
votes
1 answer

Recycleview doesn't show the items

My APP is composed by 4 fragments, 1 activity (mainpage). Each fragment show somethings; in this case I want to show to the user some informations about telecommunications, but i really need to use a RecycleView. If I try to put a TextView, it works…
Elia
  • 7
  • 5
0
votes
1 answer

get JSON data from web and display using RecyclerView

I'm new android, I was create app, it get json data from table in phpmyadmin then save in database of app. And I read data and display on RecyclerView but when I run app at first time, table database show nothing. But from the second time app can…
0
votes
1 answer

load different chat model for different item in recycleView

I attach this chat model to activity of "On Item click chat model when I click on some cardView it opens the same chat model for all card views how I can make different chat data "messages" to each view in recycleView ? the Activity of each click…
0
votes
1 answer

[Android]Issue in sorting in Stickyheaderlistview

Here is my code where I am getting the data from "tbl_customer". qry = " select DISTINCT [name],cast([value] AS TEXT) AS [value] from [tbl_Customers] where 1=1 " .concat(" AND [name] IN") .concat("(") …
Abhi
  • 385
  • 1
  • 4
  • 13
-1
votes
1 answer

(JSON file)Is there any function to action in Wamp to make it work properly?

Here is my php file to retrieve users informations using recycleview in android. but it does not work I don't know. I need some help Here, image is TEXT and String, the others are varchar String also in my database 'xxxxx' table---users …