sync Data

abstract fun syncData(dataFromAPI: fromAPI, dataFromDb: fromDB): fromDB

method to define new data from API

Return

new data formatted for DB

Parameters

dataFromAPI

data from API

dataFromDb

data from DB

Sources

Link copied to clipboard