In some resources, I want to use pagination which needs Link header. So It must contains raw response.
[ ] events
[ ] (repository)
Pagination object must manage in some instance.
Events which contains Event objects as List have pagination object
EventUseCase manage pagination object
TBD
[UPDATED 2018/2/5]
After reading this book
Android Architecture Components has android.arch.paging Library (it is alpha version).
I do not know it exactly, but it may be useful. TBD
Overview
In some resources, I want to use pagination which needs
Link
header. So It must contains raw response.Pagination object must manage in some instance.
Events
which containsEvent
objects as List have pagination objectEventUseCase
manage pagination objectTBD
[UPDATED 2018/2/5] After reading this book Android Architecture Components has
android.arch.paging
Library (it is alpha version). I do not know it exactly, but it may be useful. TBD