I meant when you have them in the same switch statement...

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Fri, Jun 25, 2010 at 5:04 PM, Justin Anderson <[email protected]>wrote:

> *> Does any one knows what are some
> of the things I could do to avoid these errors please?*
>
> Yes... don't have duplicate case values.  Your problem lies with this line:
>
> public static final int INSERT_ID = Menu.FIRST;
>
> So when you include INSERT_ID and Menu.FIRST in the same case statement
> they have the same value.
>
>
> ----------------------------------------------------------------------
> There are only 10 types of people in the world...
> Those who know binary and those who don't.
> ----------------------------------------------------------------------
>
>
> On Fri, Jun 25, 2010 at 4:38 PM, Varun Khanduja 
> <[email protected]>wrote:
>
>> INSERT_ID
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to