Skip to content

Upgrade all the things#22

Open
mike-burns wants to merge 1 commit intomasterfrom
upgrade-all-the-things
Open

Upgrade all the things#22
mike-burns wants to merge 1 commit intomasterfrom
upgrade-all-the-things

Conversation

@mike-burns
Copy link
Contributor

  • Gradle
  • Kotlin
  • target and compilation SDK
  • AndroidX

- Gradle
- Kotlin
- target and compilation SDK
- AndroidX
Copy link

@alexsullivan114 alexsullivan114 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrade-orific!

}

fun RecyclerView.attachSnapHelper(snapHelper: SnapHelper) {
fun androidx.recyclerview.widget.RecyclerView.attachSnapHelper(snapHelper: androidx.recyclerview.widget.SnapHelper) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this should be fully qualified, right? It makes it very noisy.

import com.thoughtbot.tropos.scrolling.OverScroller.OverScrollDirection.END

class RecyclerViewScroller(override val view: RecyclerView) : Scroller {
class RecyclerViewScroller(override val view: androidx.recyclerview.widget.RecyclerView) : Scroller {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto here

}

fun RecyclerView.setVerticalEndOverScroller() {
fun androidx.recyclerview.widget.RecyclerView.setVerticalEndOverScroller() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here but I'm going to stop commenting it now :)

allprojects {
repositories {
jcenter()
maven {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to use the google() method here instead of specifying the google maven repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants