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

DynamicViewLocal

class DynamicViewLocal :DynamicViewDataSource

Created by Maksim Shumko on 6/22/2020

Constructors

Name Summary
<init> DynamicViewLocal(dao:DynamicViewDao)
Created by Maksim Shumko on 6/22/2020

Functions

Name Summary
getAllDynamicViewLiveData fun getAllDynamicViewLiveData(): LiveData<List<DynamicView>>
getDynamicViewLiveData fun getDynamicViewLiveData(viewId:String): LiveData<DynamicView>
saveDynamicView suspend fun saveDynamicView(dynamicView:DynamicView):Unit
saveDynamicViews suspend fun saveDynamicViews(dynamicViews:List<DynamicView>):Unit

Inherited Functions

Name Summary
loadDynamicViews open suspend fun loadDynamicViews(viewIds:List<String>):RepositoryResult<List<DynamicViewWrapper>>
loadDynamicViewsChanges open suspend fun loadDynamicViewsChanges(lastSyncDate:String):RepositoryResult<DynamicViewChanges>