D00mch / plusminus.android

Android client for plusminus.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plusminus.android

Android client for plusminus.me

Check web implementation on plusminus.me

Warning (don't look the code until you read this)

I am experimenting with this one, trying to solve basic android problems with functional approach.

Saving state (to survive screen rotations) is handled by having AppDb object, which is persisted on activity onStop event.

Ui is updated when AppDb changes.

Business logic is implemented with event and effect Handlers.

Dispatchers listen for UI messages and update the AppDb store, delegating decisions to handlers.

I am also trying to avoid using xml for ui by relying on Anvil library.

About

Android client for plusminus.me


Languages

Language:Kotlin 100.0%