luizgrp / SectionedRecyclerViewAdapter

An Adapter that allows a RecyclerView to be split into Sections with headers and/or footers. Each Section can have its state controlled individually.
MIT License
1.68k stars 372 forks source link

AndroidX refactoring #134

Closed Te-Z closed 5 years ago

Te-Z commented 6 years ago

Hi,

I have done a migration to androidx on one of my projects, and this invalidate all supports libraries from android. (documentation https://android-developers.googleblog.com/2018/05/hello-world-androidx.html ) This include recyclerview, annotations and so on. To change this I just had to replace all android.support imports with androidx. There's nothing else to change.

It's my first pull request ever so if I missed something or if you need more informations, feel free to ask me :)

sectionedrecyclerviewadapter_androidx.zip

timc-mediamonks commented 5 years ago

This is not a pull request 🤔

matthewkrueger commented 5 years ago

Would love to see this library get updated to androidx. I recently converted my project and while it still works, Android Studio complains about any subclasses I've made that override methods from this library.

luizgrp commented 5 years ago

Hi @Te-Z, thanks for your help. This is not a pull request, here you can find how to create one.

Meanwhile someone else already submitted a pull request with the changes to androidx and it has been merged into develop already 👍

sacrificium-dev commented 5 years ago

When does a AndroidX-compatible library release? Can't add a dependency for the develop-branch, or how does it work? Thank you very much!

luizgrp commented 5 years ago

Published as 2.0.0: https://github.com/luizgrp/SectionedRecyclerViewAdapter/pull/150