babybuddy / babybuddy-for-android

Android client for the Baby Buddy webapp
MIT License
16 stars 6 forks source link

New, cleaner, coroutine-based client implementation #52

Closed MrApplejuice closed 1 year ago

MrApplejuice commented 1 year ago

Started work on a new babybuddy-api client leveraging retrofit and jackson for automated data binding!

The new client uses generics-based query functions to directly query data types via the client in coroutine functions. This makes it a lot easier to configure and support new data bindings for which, up until now, I had to hand-spin the serializers and deserializers.

A huge milestone that will be reached after this is done, is that the timeline will support showing all current events and measurements/what-have-you that are supported in baby buddy. Not editing, just showing!

Current state