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
Copy Markdown
Contributor

  • Gradle
  • Kotlin
  • target and compilation SDK
  • AndroidX

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

@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) {
Copy link
Copy Markdown

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 {
Copy link
Copy Markdown

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() {
Copy link
Copy Markdown

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 :)

Comment thread build.gradle
allprojects {
repositories {
jcenter()
maven {
Copy link
Copy Markdown

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