Click here to Skip to main content
15,900,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I've just started coding for Android, although many years of Java. In your Demo class you instantiate CustomMenu, but I'm getting an NPE from the call to getLayoutInflater(). I should add that I've simply cloned your code/XML etc into my own Activity class, but maybe I'm missing something :>(
Any help appreciated.
Posted
Comments
Peter_in_2780 13-Jun-12 22:43pm    
If this is about an article from Code Project, you should post your question in the discussion forum at the bottom of that article, and delete this one. If the article is from somewhere else, either go there or tell us more about it if you want help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900