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. HTC Magic as Dev Phone

Does anybody know if Google plans to make the HTC Magic available as
an unlocked Dev phone?  I think it would be an advantage to all of us
to be able to test our applications on different phones.
--~--~---------~--~----~------------~-------~--~----~

2. confusion about bluetooth

The current Android release offers:
"Stereo Bluetooth support (A2DP and AVCRP profiles) "
(http://developer.android.com/sdk/android-1.5-highlights.html)

However, it has also been stated in the developers forum:
"There is no Bluetooth API in the SDK at this time".

3. locked up my Android device...

4. setText

5. Jigsaw Puzzle Game on Android

6. startActivity() crash...

7. WebView Catch 22 - Same Window, Except For New Domain