MainActivityViewModel

class MainActivityViewModel @Inject constructor(productRepository: ProductRepository, historyRepository: HistoryRepository) : ViewModel

Constructors

Link copied to clipboard
@Inject
fun MainActivityViewModel(productRepository: ProductRepository, historyRepository: HistoryRepository)

Functions

Link copied to clipboard
open fun addCloseable(@NonNull p0: Closeable)
Link copied to clipboard
fun postImage(image: ProductImage)
Link copied to clipboard
fun syncOldHistory(): Job