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
JAVA code
.start(new OnDownloadListener() { @OverRide public void onDownloadComplete() { buttonOne.setEnabled(false); buttonCancelOne.setEnabled(false); buttonOne.setText(R.string.completed); }
@Override public void onError(Error error) { buttonOne.setText(R.string.start); Toast.makeText(getApplicationContext(), getString(R.string.some_error_occurred) + " " + "1", Toast.LENGTH_SHORT).show(); textViewProgressOne.setText(""); progressBarOne.setProgress(0); downloadIdOne = 0; buttonCancelOne.setEnabled(false); progressBarOne.setIndeterminate(false); buttonOne.setEnabled(true); } });
Kotlin In kotlin i am not able to access
.start(listner OnDownloadListener)
The text was updated successfully, but these errors were encountered:
.build() .start(object : OnDownloadListener { }
Try use like that's
Sorry, something went wrong.
No branches or pull requests
JAVA code
.start(new OnDownloadListener() {
@OverRide
public void onDownloadComplete() {
buttonOne.setEnabled(false);
buttonCancelOne.setEnabled(false);
buttonOne.setText(R.string.completed);
}
Kotlin
In kotlin i am not able to access
.start(listner OnDownloadListener)
The text was updated successfully, but these errors were encountered: