open Product
fun openProduct( barcode: Barcode, activity: FragmentActivity, productOpenedListener: () -> Unit = {}, productErrorListener: (ProductViewActivityStarter.ErrorType) -> Unit = {})
Content copied to clipboard
Open the product in ProductViewActivity if the barcode exist. Also add it in the history if the product exist.
Parameters
barcode
product barcode
activity