-
Notifications
You must be signed in to change notification settings - Fork 29
Fixed #43: Notification at the time of downloading #61
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
Conversation
|
@sitamadex11 can you please review this PR |
This comment was marked as duplicate.
This comment was marked as duplicate.
app/src/main/java/com/gcect/gcectapp/ui/fragments/HomeFragment.kt
Outdated
Show resolved
Hide resolved
|
|
||
| } | ||
|
|
||
| fun createNotificationChannel() { |
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.
Creating an extension function will be better choice , So we can reuse this in other fragments also
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.
Now It's also used in other fragment as I checked.
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.
never seen this kind of method in an extension function before, we can still use it in different fragments using the class instance?
usually, I've used the extension function for some view utility or activity or some internal class which I don't have access
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.
Please feel free to share your thoughts on this
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.
Yaa, I also used this common method on utils but for now according to this issue I have only implement in one place there is an another issue in which I have to implement that functionality where it is required with common method.
This is only for testing the functionality that's it's working.
app/src/main/java/com/gcect/gcectapp/ui/fragments/HomeFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/gcect/gcectapp/ui/fragments/HomeFragment.kt
Outdated
Show resolved
Hide resolved
|
@sitamadex11 @logic-cribber now I change it to notify can you please check |
|
@MohitGupta121 overall what's the status? |
Bhaiya I fixed the issue according to @logic-cribber changes requested |
|
Can anyone @sitamadex11 will review this |
hellosagar
left a comment
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.
LGTM
|
|
||
| } | ||
|
|
||
| fun createNotificationChannel() { |
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.
never seen this kind of method in an extension function before, we can still use it in different fragments using the class instance?
usually, I've used the extension function for some view utility or activity or some internal class which I don't have access
|
|
||
| } | ||
|
|
||
| fun createNotificationChannel() { |
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.
Please feel free to share your thoughts on this
|
@sitamadex11 can you please review it and approve it so that I'll move to the next issue. |

Fixed #43 Notification at the time of downloading