SyntaxFix
Write A Post
Hire A Developer
Questions
Use fragments from Support Library -
android.support.v4.app.Fragment
and then override
void onAttach (Context context) { this.context = context; }
This way you can be sure that context will always be a non-null value.