I did run this through the debugger, that's what was really confusing me.
The debugger was showing the following: expired = false result = trueThat is why I was pretty confused because it looked to me that result wasn't being passed correctly.
------------------------------------------------------------------------ David Williams Check out our WebOS mobile phone app for the Palm Pre and Pixi:<http://www.dtw-consulting.com/GolfCaddie> Golf Caddie <http://www.dtw-consulting.com/GolfCaddie> | Golf Caddie Forum <http://www.dtw-consulting.com/GolfCaddie/forum> | Golf Caddie FAQ <http://www.dtw-consulting.com/GolfCaddie/faq.html> by DTW-Consulting, Inc.
On 3/15/2011 1:36 PM, TreKing wrote:
On Tue, Mar 15, 2011 at 1:16 PM, Kostya Vasilyev <kmans...@gmail.com <mailto:kmans...@gmail.com>> wrote:Shouldn't this be "result *== *true" ? Two equal signs? Awesome.David, this is something you could easily catch with the debugger. Just put a breakpoint in the function where things aren't working correctly and inspect the values of every variable to verify they are what you think they are. Your parameter was probably false, as expected, then stepping through and falling into the IF block would have been a clear problem and you would have spotted the error very quickly.Food for thought for next time. -------------------------------------------------------------------------------------------------TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
<<inline: GClogo.png>>