android - Create DialogFragment as anonymous class -
i got app code this:
builalert = new dialogfragment() { @override public dialog oncreatedialog(final bundle savedinstancestate) { ... }
the import of android.support.v4.app.dialogfragment
this worked fine in past. when need old code, runtime error saying dialogfragment should public static class.. when wrote old code, used many class members , methods not static...
is there way keep dialogfragment anonymous class , not make different static class?
Comments
Post a Comment