Skip to content
New issue

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

How to use Crouton.makeText in AsyncTask #254

Open
NMelis opened this issue Jun 19, 2019 · 0 comments
Open

How to use Crouton.makeText in AsyncTask #254

NMelis opened this issue Jun 19, 2019 · 0 comments

Comments

@NMelis
Copy link

NMelis commented Jun 19, 2019

private class TestTask extends AsyncTask<Object, String, Boolean> {
        @Override
        protected Boolean doInBackground(Object... objects) {
            //....
            return true;
        }

        @Override
        protected void onPostExecute(Boolean aBoolean) {
            //....
            Crouton.makeText(??, "Some text", Style.ALERT).show();
    }
@NMelis NMelis changed the title How to use Crouton.makeText in AsyncTask class How to use Crouton.makeText in AsyncTask Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant