SIGN IN SIGN UP

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.

0 0 24 Kotlin

Add data models, refactor local and network data sources (#908)

* Adding TaskEntity (first pass)

* Add mapping function, rename TaskDataSource to NetworkDataSource

* Move Task creation inside TaskRepository

* More tidy ups, rename TaskEntity to LocalTask

* Mapping functions return expressions and use method references

* Fix spotless

* Rename mapping functions from 'asSomething' to 'toSomething'

* Fix spotless
D
Don Turner committed
f01fcad4193091f41352e8575d10f7718f61240e
Parent: 17da41e
Committed by GitHub <noreply@github.com> on 3/7/2023, 1:10:37 PM