I want to build an app following clean architecture principles. There is a recycler view with pagination which asks data in the domain layer and domain gets from the Data layer
as
List<ToiletPaper>. I want to use Pagging lib from Jetpack, but it returns
PagedList<ToiletPaper>
Since Data and Domain layers should not be bound to any platform or frameworks I don't want to include them in these layers. How to add Jetpack Paging Library with Adapter Design Pattern without changing the Domain layer?