question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incompatible Groupie Adapter

See original GitHub issue

Hi, first of all, I apoligize in case if this is not the place to ask these sort of questions, but I’ve been searching and searching and I just can’t find the answer.

I’m learning Android development, while following a tutorial made by Lets Build this App ( on Youtube ). He used this library and I tried too, but I’m failing. I created a RecyclerView and tried to make a GroupAdapter using Groupie like this:

        newmessage_view.adapter = groupAdapter

This is what he does in the video, but when I do it, it gives me an error:

Type mismatch. Required: (RecyclerView.Adapter<android.support.v7.widget.RecyclerView.ViewHolder!>?..RecyclerView.Adapter<*>?) Found: GroupAdapter<com.xwray.groupie.ViewHolder>

Again, I’m sorry if this is not the place, but I hope someone can help me. Thanks in advance.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
lisawraycommented, Dec 7, 2018

I thought I wrote a response to this … don’t know what happened!

You need to use the new versions of the Android support library, under the androidx package name. The latest version of Groupie that supports the old ones is 2.1. But if you’re just starting out with a new project, I strongly recommend you start with the newest support libs. Android Studio > New Project should have your back here!

1reaction
sapuglhacommented, Jul 3, 2019

[pt-BR]

Pessoal boa noite, preciso de ajuda o que posso fazer para usar o groupie no androidx 3.4.1 com gradle 5.4.1, ele nao aceita a implementação na gradle.biulder do app. Alguem pode me ajudar?

Hey @jholw nem todo mundo fala Português aqui. Eu uso Groupie com Android Studio 3.4.1 e Gradle 5.4.1 sem problemas. Postar uma nova questão com exemplo demonstrando o problema ajuda bastante, apesar de que esse tipo de pergunta seria feita no StackOverflow primeiro.

[en] Q: Good night folks, I need help what can I do to use groupie with androidx 3.4.1 with Gradle 5.4.1, it does not accept the implementation on gradle.builder on app. Could anyone help me? A: Hey @jholw not everyone speak Portuguese here. I’m using Groupie with Android Studio 3.4.1 and Gradle 5.4.1, no problem. Adding a new question with an example demonstrating the problem helps us understand, although this kind of question would be posted on StackOverflow first.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SetOnItemClickListener in the Groupie adapter dosen't work
I use groupie lib to show items that I fetch from the firebase database. But when I want to do setOnItemClickListener in Groupie...
Read more >
[Solved]-Groupie RecyclerView clicking specific item-kotlin
Coding example for the question Groupie RecyclerView clicking specific item-kotlin. ... Horizontal RecyclerView as an Item in Groupie Adapter does not work ...
Read more >
Untitled
Maquillador de muertos chile, Porter cable 7424xp dual action orbital polisher, ... Asset signed with incompatible key, Stollers furniture world sale, ...
Read more >
plugin version (1.7.10) is not the same as library version (1.6.21 ...
"Module was compiled with an incompatible version of Kotlin. ... val adapter = GroupieAdapter() //remove the Generic Type here. which is no longer...
Read more >
Untitled
English spanish language converter, Allgood dentistry daphne al, Vented propane ... Loopy groupie gift, Hablar conjugation past tense, Dan porter park, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found