Re: [android-developers] Issue with populating a ViewFlipper child View with a ListView

2010-08-02 Thread Victoria Busse
*But what could I do so that the Flipper displays the ListView correctly when the button is pressed because I am not even sure if my attempt was going into the right direction as I didn't know how to include the childView while setting up the listView at the same time. * * * *I also tried around a

Re: [android-developers] Issue with populating a ViewFlipper child View with a ListView

2010-08-02 Thread Mark Murphy
No, it means your variable lv is null. On Mon, Aug 2, 2010 at 4:43 PM, Victoria Busse wrote: > The Logcat says that there is a 08-02 22:33:45.704: > ERROR/AndroidRuntime(6918): java.lang.NullPointerException >                                               08-02 22:33:45.704: > ERROR/AndroidRuntim

Re: [android-developers] Issue with populating a ViewFlipper child View with a ListView

2010-08-02 Thread Victoria Busse
The Logcat says that there is a 08-02 22:33:45.704: ERROR/AndroidRuntime(6918): java.lang.NullPointerException 08-02 22:33:45.704: ERROR/AndroidRuntime(6918): at com.mobilevideoeditor.moved.EditorView.onClick(EditorView.java:82), which is lv.setAdap

Re: [android-developers] Issue with populating a ViewFlipper child View with a ListView

2010-08-02 Thread Mark Murphy
If your error report is accurate, you are not setting lv to a value, and so it is null. On Mon, Aug 2, 2010 at 4:25 PM, kivy wrote: > Hi > > I am trying to populate a ViewFlipper with a ListView when a certain > button is clicked...but I only get a NullPointerException for > lv.setAdapter(new Arr

[android-developers] Issue with populating a ViewFlipper child View with a ListView

2010-08-02 Thread kivy
Hi I am trying to populate a ViewFlipper with a ListView when a certain button is clicked...but I only get a NullPointerException for lv.setAdapter(new ArrayAdapter(this, R.layout.specialeffectsview, specialEffects)); To be honest I don't really know how to do this, I just learned about the ViewF