addFavoriteData

fun addFavoriteData(data: FlatData): Long

Adds Favorites flat data

Return

Unique ID for remove operation

Parameters

data

Data to add

fun addFavoriteData(data: List<FlatData>): List<Long>

Adds list of Favorites flat data

Return

List of unique IDs for remove operation

Parameters

data

Data to add