How can I create a public static class in Android Studio?

I want to create a *public static class Utilities* with static methods so 
that I can use them throughout the application without creating an object. 
I plan to create an AlertDialog and call that in multiple fragments. 

But, android Studio throws an error. Rite now, I don't know the exact error 
message because I am sitting here in office and making the post.

Regards

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to