1

NullPointerException trying to add items to a ListView with jfeinstein10 SlidingMenu

view story
linux-howto

http://stackoverflow.com – I am using a CustomAdapter I've used on another application for adding items to a ListView and I'm incredibly stuck. The problem is that the ListView in the menu_slider.xml is always null when I try to perform: slideView.setAdapter(adapter); Here is the relevant code: MainActivity: CustomAdapter adapter; ListView slideView; ArrayList<SlideItem> menuItems; ListAdapter myAdapter; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); stringList = new ArrayList<String>(); slideVie (HowTos)