On Sep 19, 3:31 pm, DroidAddict <[email protected]> wrote:
> I was planning to have static class that holds all the constants of
> the application so that it can be used across all the classes of the
> application. I was getting an error asking me to remove the static
> modifier for the class.
>
> Is there something really important about the way static classes has
> to be used in android?
The "static" modifier is only meaningful with inner classes, i.e.:
public class Foo {
static class InsideFoo {
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---