Problem with ListAdaptor

by manoj » Fri, 02 Jan 2009 15:52:58 GMT


Sponsored Links
 Hi friends,

I am using ListAdaptor in my application.

My requirement is

ListAdaptor contains some countries names.

When we click on particular country, it displays the states in the
selected country (as a dropdown list). When we click on the state, its
corresponding image will be set to background.

This is my requirement.

I am able to do this well except in one condition, i.e., when
selecting country/state (dropdown list comes and select a state) and
clicks on same country (dropdown list goes up) and again if I click on
same country, selected state's back ground image is showing, and if I
select another state in the same country, the previous state's
background image is still visible, actually it should go invisible.
But it is not happening.

Actually my functionality works fine if we are in the same country,
clicks on different states, the images of the states are changing.

But in the above condition it fails to show as I am expecting. ( I am
unable to clear the previous view's back ground image when I click the
same countries more than once).

Can any one please help me.

Thanks,
Manoj.


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Binder IPC ( native process - to - android service )

Hi,

Does anyone know if there are any good information/examples on how to
bind to an Android service written in Java from a native process
written in C/C++? and use that binding for further IPC.

And, what steps needs to be done in the service? in order to be
listable/bindable from the native process:

i.e. something like:

sp<IServiceManager> servman = defaultServiceManager();
servman->listServices();

and

sp<IBinder> binder = servman-

Please reassign this question to the right forum, if this forum is
wrong.

Regards,
a11xc07bc

-- 

2. undefined reference to `sigsetjmp' when building mksh for x86

Hi,

trying to build Android (current git) for generic_x86, it fails to
link mksh:

$ make
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=generic_x86
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=debug
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
Install: out/debug/target/product/generic_x86/system/app/Mms.apk
target Executable: mksh (out/debug/target/product/generic_x86/obj/
EXECUTABLES/mksh_intermediates/LINKED/mksh)
out/debug/target/product/generic_x86/obj/EXECUTABLES/
mksh_intermediates/src/exec.o: In function `herein':
system/core/mksh/src/exec.c:1283: undefined reference to `sigsetjmp'
out/debug/target/product/generic_x86/obj/EXECUTABLES/
mksh_intermediates/src/exec.o: In function `execute':
system/core/mksh/src/exec.c:312: undefined reference to `sigsetjmp'
system/core/mksh/src/exec.c:179: undefined reference to `sigsetjmp'
system/core/mksh/src/exec.c:276: undefined reference to `sigsetjmp'
out/debug/target/product/generic_x86/obj/EXECUTABLES/
mksh_intermediates/src/exec.o: In function `comexec':
system/core/mksh/src/exec.c:620: undefined reference to `sigsetjmp'
out/debug/target/product/generic_x86/obj/EXECUTABLES/
mksh_intermediates/src/expr.o:system/core/mksh/src/expr.c:207: more
undefined references to `sigsetjmp' follow
out/debug/target/product/generic_x86/obj/EXECUTABLES/
mksh_intermediates/src/main.o: In function `unwind':
system/core/mksh/src/main.c:685: undefined reference to `siglongjmp'
out/debug/target/product/generic_x86/obj/EXECUTABLES/
mksh_intermediates/src/main.o: In function `shell':
system/core/mksh/src/main.c:578: undefined reference to `sigsetjmp'
out/debug/target/product/generic_x86/obj/EXECUTABLES/
mksh_intermediates/src/main.o: In function `include':
system/core/mksh/src/main.c:504: undefined reference to `sigsetjmp'
collect2: ld returned 1 exit status
make: *** [out/debug/target/product/generic_x86/obj/EXECUTABLES/
mksh_intermediates/LINKED/mksh] Error 1


Is this a known problem? The build machine is Debian x86_64.

Cheers,

Marcus

-- 

3. Cara ngapus hasil "search"

4. Koinkulator v0.5

5. (CLOSED/INFO) Tanya tentang paket data & peta gps di Singapore utk HH Android

6. how to display images of particular folder

7. Global search app