function for injection in Android, is there a similar approach in desktop ?
m
Mitchell Syer
11/15/2022, 4:30 PM
Some navigation libraries include a ViewModel-like interface. Voyager(https://github.com/Syer10/voyager) has ScreenModel that acts like a ViewModel and can be integrated with DI's pretty easily. Other Navigation libraries may have something similar