We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why fetch listener called more than one time? I try save to database, but i see in my database have twice same data.
override fun onCompleted(download: Download) { viewModel.canGoBack.value = true viewModel.setButtonProperties(ProductStatusState.ReadyForRead) binding.apply { tvOfferSelected.text = getString(R.string.text_btn_download_success) val percentageDownload = "${download.progress}%" tvTotalPrice.text = percentageDownload } extractZipFile(applicationContext, viewModel.itemId, zipKey, fileType) saveItemToDatabase(download) }
The text was updated successfully, but these errors were encountered:
Same problem and can't to resolve this issue normally (not ugly way).
Sorry, something went wrong.
No branches or pull requests
Why fetch listener called more than one time? I try save to database, but i see in my database have twice same data.
override fun onCompleted(download: Download) { viewModel.canGoBack.value = true viewModel.setButtonProperties(ProductStatusState.ReadyForRead) binding.apply { tvOfferSelected.text = getString(R.string.text_btn_download_success) val percentageDownload = "${download.progress}%" tvTotalPrice.text = percentageDownload } extractZipFile(applicationContext, viewModel.itemId, zipKey, fileType) saveItemToDatabase(download) }
The text was updated successfully, but these errors were encountered: