-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combine the two Constants files into one file. #5418
Conversation
/** | ||
* Default duration when using throttle functions across the app, in milliseconds. | ||
*/ | ||
const val DEFAULT_THROTTLE_TIMEOUT = 120L |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see there are no other file changes. Isn't this variable used anywhere? If that's the case remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's used in some of the ViewModel
s.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the ViewModel
s imports also be changed? Otherwise they would point to ConstantsKt
, wouldn't they?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ViewModel
s are written in Kotlin, so no change is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, thank you
…ify_constants Combine the two Constants files into one file.
What is it?
Description of the changes in your PR
Constants.java
andConstantsKt.kt
into one file.APK testing
debug.zip
Due diligence