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. Android Bug: Time.parse3339 crashes BEFORE it throws a TimeFormatException!

I just confirmed that this is fixed in 2.0.1!

2. Android Bug: Time.parse3339 crashes BEFORE it throws a TimeFormatException!



Either use adb logcat and dump it to the console, or highlight the lines
in the LogCat pane in DDMS, save them to a file, open up the file, and
copy/paste them to wherever.

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

Android App Developer Training: http://commonsware.com/training

3. REPOST WTS: Motorola milestone 2nd 6,9jt

4. Android Bug: Time.parse3339 crashes BEFORE it throws a TimeFormatException!

5. Virtual Camera + Accelerometer + 3ds max

6. Common Component Externalization

7. Multiple versions of app with different package names