leandroBorgesFerreira/LoadingButtonAndroid

Fetch Location Using LoadingButtonAndroid

Closed this issue · 2 comments

hey, I want to use this loading button as a progress dialog.
Means I want when user clicks it then i should fetch lat long and user should not interact with the activity and when the lat long are successfully fetched then the loading of this button should stop. How i can do that ?
Mainly i want the functionality of progress dialog with this loading button.

If i use asyn task still the user can interact with the activity...

Hello @rajgar114. You can use the dispatchTouchEvent of your activity and intercept any kind of touch.

I am closing this issue since it is not related to the library.