Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 8th, 2013, 06:56 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Android busy indicator

Hi

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.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 11:33 PM
Android SDK/Android.bat does not find SWT.jar file chaoticandroid BOOK: Professional Android 2 Application Development 1 March 23rd, 2011 07:39 PM
Need iframe loading indicator surendran Javascript How-To 1 September 24th, 2008 04: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 11:12 AM



All times are GMT -4. The time now is 12:09 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.