Closed MasterGroosha closed 10 years ago
Hello. I'm getting NPE here:
mDrawer.setTouchMode(MenuDrawer.TOUCH_MODE_FULLSCREEN);
That's all I've got for now:
import net.simonvt.menudrawer.MenuDrawer; import android.app.Activity; import android.os.Bundle; public class Person_FeedList extends Activity{ private MenuDrawer mDrawer; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.userfeed); mDrawer = (MenuDrawer) findViewById(R.id.drawer); mDrawer.setTouchMode(MenuDrawer.TOUCH_MODE_FULLSCREEN); } }
By the way, R.layout.drawer exists
R.layout.drawer
Either the drawer doesn't exist in R.layout.userfeed, or id's are messed up by your build system.
Hello. I'm getting NPE here:
That's all I've got for now:
By the way,
R.layout.drawer
exists