gsdsdk / com.gsd.software.sdk.viewparser.dynamicview.repository / DynamicViewDataSource

DynamicViewDataSource

interface DynamicViewDataSource

Created by Maksim Shumko on 6/22/2020

Functions

Name Summary
getAllDynamicViewLiveData open fun getAllDynamicViewLiveData(): LiveData<List<DynamicView>>
getDynamicViewLiveData open fun getDynamicViewLiveData(viewId:String): LiveData<DynamicView>
loadDynamicViews open suspend fun loadDynamicViews(viewIds:List<String>):RepositoryResult<List<DynamicViewWrapper>>
loadDynamicViewsChanges open suspend fun loadDynamicViewsChanges(lastSyncDate:String):RepositoryResult<DynamicViewChanges>
saveDynamicView open suspend fun saveDynamicView(dynamicView:DynamicView):Unit
saveDynamicViews open suspend fun saveDynamicViews(dynamicViews:List<DynamicView>):Unit

Inheritors

Name Summary
DynamicViewLocal class DynamicViewLocal :DynamicViewDataSource
Created by Maksim Shumko on 6/22/2020
DynamicViewRemote class DynamicViewRemote :DynamicViewDataSource
Created by Maksim Shumko on 6/22/2020
DynamicViewRepository class DynamicViewRepository :DynamicViewDataSource
Created by Maksim Shumko on 6/22/2020