We found our selves writing a lot of boilerplate code in order to use for some of our network jobs. You have your super easy Retrofit service interface with all the parameters and everything and then you have to create some ugly object and pass the arguments by hand as a bundle etc. We created some utility code to make it easier but it̵;s still ugly.
It would be awesome to have some code-generating annotation processor where you can just annotate some Retrofit interface methods and it would generate work object with type-safe parameters for you.

Am I the only one with this problem?



Source link
thanks you RSS link
( https://www.reddit.com/r//comments/a2exmy/how_do_you_actually_work_with_workmanager/)

LEAVE A REPLY

Please enter your comment!
Please enter your name here