December 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Category Archives: JAVA
Custom View – provide layout from XML when children not supplied
I was doing a component based on LinearLayout instantiated from XML. It could contain children provided as sub-tags in the XML or be left empty and then default layout should be loaded from XML file.
Posted in android, JAVA
Tagged android, Custom Component, LinearLayout, onFinishInflate
Comments Off on Custom View – provide layout from XML when children not supplied
Comparing Strings in JAVA
Hi, for last few weeks I am doing JAVA programming for Android, and as my background is mainly with ActionScript I wasn’t aware of JAVA nuances with String comparison, I thought that the equality operator will work i.e. a == … Continue reading