Wrox Programmer Forums
BOOK: Professional Cross-Platform Mobile Development in C#
This is the forum to discuss the Wrox book Professional Cross-Platform Mobile Development in C# by Scott Olson, John Hunter, Ben Horgen, Kenny Goers; ISBN: 978-1-1181-5770-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Cross-Platform Mobile Development in C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 8th, 2013, 06:56 AM
Registered User
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Android busy indicator


I'm wonder how to implement a busy indicator for Mono Android (and Mono Touch for that matter) in MonoCross. Displaying the indicator is easy enough, but how am I supposed to know when to make it disappear when processing is complete?

As the calls to the Controller code are asynchronous the code in the view doesn't know when Controller has finished and can hide the indicator. This is not an issue if control is passed to a new view but is a problem if the user hits the back button. Android has various life cycle events that could be used, but they won't work in every possible scenario. Another possible solution is to put a flag into the Model but I think that is a very ugly hack! Any ideas on how this could be achieved or am I missing something obvious here?!

Thanks in advance.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Profile indicator has not activity and level bar morteza Forum and Wrox.com Feedback 2 September 26th, 2011 10:33 PM
Android SDK/Android.bat does not find SWT.jar file chaoticandroid BOOK: Professional Android 2 Application Development 1 March 23rd, 2011 06:39 PM
Need iframe loading indicator surendran Javascript How-To 1 September 24th, 2008 03:32 AM
Server too Busy innochig ASP.NET 1.0 and 1.1 Professional 0 February 1st, 2007 08:12 AM
Password Security Indicator sridevi Javascript 1 July 24th, 2004 10:12 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.