On Thu, Jul 7, 2011 at 12:22 PM, Raghav Sood <[email protected]> wrote:

> I am getting an error that I can not compare these values as they are
> Doubles in nature and null is not valid here with ||. How can I compare
> these?


As the error indicates, they are not object that are comparable to null.
They are guaranteed to have *some* value. What are you trying to guard
against?

-------------------------------------------------------------------------------------------------
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to