-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Snack Bar implemented throughout the app #97
Conversation
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.
Looks pretty good and works well! I just had some suggestions regarding naming conventions.
app/src/main/java/com/waseefakhtar/doseapp/util/SnackBarUtil.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: Waseef Akhtar <waseefakhtar@gmail.com>
Co-authored-by: Waseef Akhtar <waseefakhtar@gmail.com>
Co-authored-by: Waseef Akhtar <waseefakhtar@gmail.com>
Let me change them overall the app as I've seen there are others as well need to update |
Hello @waseefakhtar, I've improved the implementation of the Snackbar feature. Now, you can simply call the function (showSnackbar()) without the need to create parameters within it. This eliminates any unnecessary boilerplate code, making it a more efficient and user-friendly experience for future developers. I'm eager to hear your thoughts and hope we can proceed with merging this improvement. 😊 |
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.
Looks pretty good and nice improvement with eliminating unnecessary boilerplate code! I just made some minor changes renaming variables and functions and fixing ktlint. Thank you for your contribution, @Ammar-Ishfaq! :)
Resolves #71