Last active
February 20, 2022 17:59
-
-
Save thecodeside/f42c5aba55c8ea808c7abf04ccbfd55e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FancyViewModel( | |
private val fancyDataRepository: FancyDataRepository = FancyDataRepository(), | |
private val dispatchers: DispatcherProvider = DefaultDispatcherProvider(), | |
private val notificationManager: NotificationManager = | |
Graph.appContext | |
.getSystemService(Context.NOTIFICATION_SERVICE) | |
as NotificationManager, | |
) : ViewModel() { | |
class FancyFragment : Fragment() { | |
private val fancyViewModel: FancyViewModel by viewModels() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment