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

Can I add this view to my activity programatically? #14

Closed
wonsuc opened this issue Mar 23, 2017 · 3 comments
Closed

Can I add this view to my activity programatically? #14

wonsuc opened this issue Mar 23, 2017 · 3 comments

Comments

@wonsuc
Copy link

wonsuc commented Mar 23, 2017

public void showLoadingDialog(String message) {
    dismissDialog();

    if (mProgressDialog == null) {
        mProgressDialog = new ProgressDialog(this);
        mProgressDialog.setIndeterminate(true);
        mProgressDialog.setTitle("");
    }

    mProgressDialog.setMessage(message);
    mProgressDialog.show();
}

Like standard android ProgressDialog as above code.
Thanks.

@dinuscxj
Copy link
Owner

Yes. you can try LoadingView

@wonsuc
Copy link
Author

wonsuc commented Mar 23, 2017

But how to implement it?
I tried to create new instance of LoadingView and add it to activity's content view. But nothing works. Any demo or example?

@wonsuc
Copy link
Author

wonsuc commented Mar 23, 2017

Oh ok I solved it thanks!

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

2 participants