Closed gustiando closed 11 years ago
Not sure how you're setting the adapter before you set the content view (where I assume the GridView exists), but you probably shouldn't so that.
Sorry I didn't quite understand. You mean I should call mMenuDrawerTop.setContentView(R.layout.activity_movies); before mMoviesPostersGDV.setAdapter(adapter); ? do you mind providing a simple example how this would be done?
Yes. You wouldn't call mMoviesPostersGDV.setAdapter(adapter); setContentView(R.layout.activity_movies);
in a regular Activity either.
Hi,
I'm trying to have a view with a grid and a bottom menudrawer. However, when I add the menudrawer the grid disappears... is there anything I'm missing/not setting? at first I tried with my own BaseAdapter but I tried to simplify things and even with a very basic grid I still can't have it working when I uncomment out the menudrawer snippet.
here's how I create the grid:
have anyone tried to use a gridview + menudrawer in the same activity? is there any samples? what am I doing wrong?
Thank you!