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.

README.md uses Depricated code!

See original GitHub issue

the sample in README.MD the use of kotlinandroidextensions can you update please! sais 'GroupieViewHolder' is deprecated. Kotlin-Android-Extensions is deprecated since 1.4.20, therefore so is the `kotlin-android-extensions` integration in Groupie. Use `groupie-viewbinding` instead.

import com.xwray.groupie.kotlinandroidextensions.Item
import com.xwray.groupie.kotlinandroidextensions.GroupieViewHolder
import kotlinx.android.synthetic.main.song.*

class SongItem(private val song: Song) : Item() {

    override fun getLayout() = R.layout.song

    override fun bind(viewHolder: GroupieViewHolder, position: Int) {
        viewHolder.title.text = song.title
        viewHolder.artist.text = song.artist
    }
}

Library version 2.9.0

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

3reactions
Zhuindencommented, Apr 19, 2022

Jitpack build says

Build artifacts:
com.github.lisawray.groupie:groupie-kotlin-android-extensions:2.10.0
com.github.lisawray.groupie:groupie-viewbinding:2.10.0
com.github.lisawray.groupie:groupie-databinding:2.10.0
com.github.lisawray.groupie:groupie:2.10.0

Therefore you are probably missing the Jitpack.io repository from your settings.gradle. @MohsinAShaikh

0reactions
MohsinAShaikhcommented, Apr 19, 2022

Thank you for helping me out it works for me just by adding jitpack.io in settings.gradle. @Zhuinden

Read more comments on GitHub >

github_iconTop Results From Across the Web

code-gov-harvester-deprecated/README.md at master - GitHub
DEPRECATION WARNING. This repository is considered deprecated and will be archived. For the new version of this tool please go to GSA/code-gov-harvester.
Read more >
types-Deprecated - PyPI
This is a PEP 561 type stub package for the Deprecated package. It can be used by type-checking tools like mypy, PyCharm, pytype...
Read more >
Dealing with Bugs/Deprecated Code in Popular Github Repos
Popular papers often have code on Github, but the authors are super busy writing new papers, so you may notice that they stop...
Read more >
How To Deprecate A Repository on GitHub | by Richard Littauer
Change the GitHub description. · Ask people to use a different project, which solves the same problem as yours (and hopefully has more...
Read more >
pyDeprecate | Simple tooling for marking deprecated functions ...
CI testing Code formatting codecov CodeFactor pre-commit.ci status ... called function (for func deprecation); used arguments (for argument deprecation).
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