Techbirds | Knowledge Hub | Page 50
DST – Day Light Saving Time The world is divided into many different timezones. Furthermore, as well as different countries being in one or more different timezones, some countries also apply Daylight Saving Time (DST). DST is a system of handling the changing amounts of daylight throughout the year, as the seasons change. In any
Read More →
1,385 total views, no views today
Anything that consumes reference to your activity Context and is marked as STATIC is prone to memory leaks. This is what we generally do.. For example : Example 1 : We have an List View inside an Activity and an adapter is populating this list…But suppose this data is continuously changing from any other class..
Read More →
742 total views, no views today
In your application generally you wants to communicate your UI thread (e.g. Activity) with your background running thread (e.g. Services) and vice versa… i.e. you want to communicate from your running services to Foreground visible Activity and also wants to send some information from your Foreground Activity to Background running services… A simple solution of
Read More →
1,654 total views, no views today
I was getting incorrect font size rendered when using -webkit-text-size-adjust css property in media tag for iPhone 4OS rotation mode or landscape mode. 1.0 figure 2.0 figure Then use -webkit-text-size-adjust css property Specifies a size adjustment for displaying text content in Safari on I Phone. HTML code:-
Normal CSS code without using web kit
Read More →
866 total views, no views today
A ViewStub is a dumb and lightweight view. It has no dimension, it does not draw anything and does not participate in the layout in any way. This means a ViewStub is very cheap to inflate and very cheap to keep in a view hierarchy. A ViewStub can be best described as a lazy include.
Read More →
767 total views, no views today