Is it possible to have a single ui element instance across the application?

by sagare » Thu, 29 Jul 2010 20:06:15 GMT


Sponsored Links
 Hi All,

      I have created a custom component and i want it to be singleton
in my application and i want all actvities my application to have this
custom component which is singleton. how can i achieve this?

    Please help me in this regard

Thanks and Regards,
Sagar

--



Is it possible to have a single ui element instance across the application?

by Mark Murphy » Thu, 29 Jul 2010 20:09:58 GMT


 


Please do not do this.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

_Android Programming Tutorials_ Version 2.9 Available!

--


Sponsored Links


Other Threads

1. matching prebuilt kernel sources

Hi,
   I have a recent "repo" copy of the platform tree and I noticed that
the kernel sources included in it are incomplete.  For example, the
arch/arm/mach-goldfish directory is not present, but devices from this
directory are present in the kernel that the emulator boots.  How can
I get a more complete copy of the linux kernel sources?  Are there
tags for lining up these sources with the prebuilt kernel that is
shipped in the platform tree?

Tim

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

2. compilation of glibc for android

has anybody compiled glibc and used on dalvik, i am not able to
compile glibc with
arm-eabi, can any body send the procedure followed to compile glibc
and use instead of bionic.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Install Android on my pocket pc

4. onTap display toast or message

5. How to get attributes of KeyboardView?

6. Compiling and running modified code

7. How to pass User created object between two Activity in same Application?