7

App crashing after inserting listview in fragment tabs

view full story
linux-howto

http://stackoverflow.com – I found a code to implement tab with fragment. I tried to put listview in the fragment, but the application is crashing with the following error. Could you please take a look on the code and guide me. Thank you. 01-18 11:44:49.130: E/AndroidRuntime(1908): FATAL EXCEPTION: main 01-18 11:44:49.130: E/AndroidRuntime(1908): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.abe/com.example.abe.TabsFragmentActivity}: java.lang.NullPointerException 01-18 11:44:49.130: E/AndroidRuntime(1908): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059 (HowTos)