Questions tagged [groupie]
19 questions
3
votes
0 answers
Groupie RecyclerView Expand Parent's Layout To Include Children
I've a expandable recyclerView made using Groupie which I would like to have the children included on the parent's same layout to make use of the borders for its card view. Not sure how to achieve that though.
Instead of
I would like to have…

Francislainy Campos
- 3,462
- 4
- 33
- 81
2
votes
2 answers
Failed to resolve: com.xwray:groupie:2.9.0
I want to add groupie dependency but it gives me the following error after syncing.
And when I try to run my program it gives me this error.
these are my dependencies in build.gradle file:
// groupie for managing complex recycler view…

Meraj
- 439
- 3
- 9
2
votes
1 answer
Unresolved Reference layoutInflater Android View Binding
I'm trying to convert one of my former "kotlin-android-extensions" activities to View Binding. Every example I've seen of this seems to contain some variant of the line:
binding = MyActivityBiding.inflate(layoutInflater)
Yet when I attempt to use…

mystic cola
- 1,465
- 1
- 21
- 39
2
votes
0 answers
How to delete item using Groupie RecyclerView
I am using Groupie to populate my RecyclerView and I am trying to get a delete-button in my RecyclerView to work. I figured how to do it in my activity using the setOnItemClickListener but I want the listener to only be invoked when I click on the…

sveggen
- 53
- 7
2
votes
1 answer
RecyclerView adapter not working with groupie
I tried to add groupie adapter to my recycler view as shown in the code below. However when i run my application, i get a compiler error saying my reyclerview cannot be null (because of kotlin null safe feature). I cant figure out why this adapter…

Karan Dhillon
- 1,186
- 1
- 6
- 14
2
votes
2 answers
Groupie RecyclerView All Items Added To The Same Expandable Item
I'm using the Groupie library for showing expandable items and my issue is that instead of the items retrieved through an api call being shown under each of their parent expandable header, they're all shown together under the last item on the…

Francislainy Campos
- 3,462
- 4
- 33
- 81
0
votes
0 answers
Expand only a single group using groupie library kotlin
I Am using groupie expandable recyclerview, I only have to expand current group and also have to collapse previous expanded group, to be precise at a time there should be only one group expanded.. currently I'm using ontoggleExpanded() method how…
0
votes
0 answers
How can i delete an item inside a nested recycler view using ItemTouchHelper?
I'm actually using Groupie library, and I'm trying to delete a nested item inside a group adapter.
But when I use ItemTouchHelper, it only deletes the parent items(Objetos) or the nested items(Produtos), basically the first one that I try to swipe.…

Vitor Martins
- 1
- 1
0
votes
1 answer
GroupieViewHolder shown error when i declared it
im new to kotlin android development and trying to build a messenger follow the youtube tutorial by lets build that apps (https://www.youtube.com/watch?v=SuRiwVF5bzs&list=PL0dzCUj1L5JE-jiBHjxlmXEkQkum_M3R-&index=4 >from 19:33) i founded i the…

mkk
- 1
- 1
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
How to call functions from a ViewModel of an Activity
I am trying to call a function from a ViewModel of an Activity and unfortunately I don't know how.
Why am I trying to call a function from a ViewModel of an Activity?:
I have specific items in the model which I want to click and they should do…

Andrey
- 55
- 7
0
votes
1 answer
Change color of un/selected Items in RecyclerView
My problem is that I want to select an item in a RecyclerView and it should change the color and if I click on another the first selected item should change to the default color (and the last clicked should have the selected color).
I have already a…

Andrey
- 55
- 7
0
votes
1 answer
Memory leaks when using static context items in android
So I have a class with static UI elements like so:
class MyClass {
companion object {
lateinit var item:ChannelItem
}
}
// Item from groupie
class ChannelItem(var channel:Channel): Item() {
// bind
//…

qwerty_99
- 640
- 5
- 20
0
votes
1 answer
Groupie RecyclerView OnClick returns empty Item
I am using a room database with live data
Retrieving information from Database
private fun getData(query: String) {
var dataIssueJson: MutableList
dataViewModel.searchDatabase(query).observe(this, {
dataList = it as…

DJ. Aduvanchik
- 332
- 5
- 17
0
votes
1 answer
Horizontal RecyclerView as an Item in Groupie Adapter does not work
I am populating my data to the RecylerView using Groupie Adapter with different types of items and using expandable groups and sections, one of the items is a Horizontal RecyclerView - everything works fine except that ** I am not able to scroll the…

Wadih Hannouch
- 53
- 1
- 7