Disable a whole activity from user action

后端 未结 7 648
再見小時候
再見小時候 2020-12-02 09:17

Is there a simple way to disable a user interacting with an activity. To be done when there is an action running (and a spinning progress bar in the title bar)

EDIT:

7条回答
  •  自闭症患者
    2020-12-02 09:51

    Use AsyncTask with ProgressDialog bundled.

    1. AsyncTask

    2. Progress Dialog

    another useful example:

    http://www.screaming-penguin.com/node/7746

提交回复
热议问题