Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MaterialDialogFactory {
- public static enum DialogType { --> static here means DialogType can be accessed w/o new MaterialDialogFactory
- Save,
- Quit,
- Cancel;
- }
- // static above is not same as:
- // static int mStaticVariable;
- public MaterialDialog generate(Context c, DialogType t, Callback cb) { ... }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement