Avoid the clobber: Nest your network activity indicator updates

Avoid the clobber: Nest your network activity indicator updates.

여러 객체에서 Network Activity Indicator를 사용하는 경우, 두 개의 객체에서 네트웍 관련 작업을 시작하고 indicator를 표시했을 때, 만일 하나의 객체에서 네트웍 작업이 끝났다고 indicator를 감추면, 다른 객체에서는 여전히 네트웍 작업이 진행되고 있지만 indicator는 표시되지 않게 됩니다.

위의 웹페이지는 그런 경우에 사용할 수 있는 간단한 코드를 제공합니다.

Leave a Reply