-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashing at MainActivity #9
Comments
mSheetLayout or mFab is probably null, can you post your onCreate method where you initialize them? |
Here is my oncreate method. public class MainActivity extends BaseActivity implements SheetLayout.OnFabAnimationEndListener {
|
It looks fine to me, unless the SheetLayout / FAB are not present in R.layout.activity_main or have the wrong IDs. Have you tried it without binding via findViewByID? |
yeah i did |
@raviraghav93 do you have your code available on Github? I could take a proper look rather than guessing on the supplied info |
My app is crashing with logcat showing nullpointer exception and taking me to this line in MainActivity
mSheetLayout.setFab(mFab);
FYI i'm using eclipse
Please Help.
The text was updated successfully, but these errors were encountered: