skydoves / DisneyMotions

🦁 A Disney app using transformation motions based on MVVM (ViewModel, Coroutines, Flow, Room, Repository, Koin) architecture.
Apache License 2.0
1.51k stars 189 forks source link

How to handle data structures like BaseResponse #17

Closed fqz100 closed 1 year ago

fqz100 commented 1 year ago

Our backend developer returns the following data structure: { code: 0, msg: "success", data: { } } How should this be handled globally?

fqz100 commented 1 year ago

sry, wrong place