Will it work if I setListViewAdapter dynamically?

by olko » Wed, 04 Mar 2009 16:40:08 GMT

Sponsored Links
 I am trying to change ListView adapter on the  fly like this (the
AdapterMain* extends BaseAdapter):

                                if(main_view) {
                                else {

Should I do other things or this would be enough?

Will it work if I setListViewAdapter dynamically?

by olko » Sat, 07 Mar 2009 03:49:50 GMT

 > It will work :)

yes, it does :)


Sponsored Links

Other Threads

1. native UDP implementation for android

I'm trying to use native implementation of UDP server/client on
Android, I'm using JNI to access the native code from java.

The code was tested successfully on Android 1.5 (HTC Hero) but when I
tried to run the same application on Android 2.1 (HTC Legend) I got
"Stack Corruption Detected" every time I received a packet bigger than
32 byte and the application crashed.

Does anyone has a clue what could cause the stack corruption?


2. galaxy s (2.1) and google api 2.2

Hi all,

I want to run the map activity sample app on samsung galaxy s but
realised that i need it to be 2.2.

is there a workaround?



3. Statistics on Rooted Phones

4. Understanding goldfish frame buffer driver in Android Goldfish kernel

5. android 2.1 os MID : V3 in stock, only $115 ; T7 (3G version), $265

6. Parallel Horizontal ListView

7. Rendering intial screen issue