Johan Pelgrim wrote:Hi Carlos,
Your book title indicates you have been digging around the source code to find the nitty gritty about the Android Framework. In your opinion, did you see an increase API documentation updates during the time you have written the book and have done your research? What areas are still lacking (in documentation) and contain real gems (which hopefully are described in your book?)
When I browse around the source code I something get the experience Google is taking a considerable amount of effort to work around their own framework. Did you encounter any of those hacks as well? What scared you the most?
How future proof are the hacks described in your book? Are they clean and working 'with' the framework, so we can depend on them in the future. Or are some so hacky they need attention after every new release of the SDK?
qunfeng wang wrote:Hi Carlos,
I see one hack in the overview page. I'd like to know what the advantages and disadvantages of using Scala instead of Java? Do you use Scala a lot in your daily Android development?
Hack 34 Using Scala inside Android
Steve Luke wrote:I was peaking at the table of contents for the 50 Android Hacks book being featured this week. One that caught my attention was #17 'Creating a wizard form using a Gallery.' The reason that is of interest is that the Gallery is now deprecated. Google offers two options for replacement, the HorizontalScrollView, and the ViewPager, but neither really supports everything the Gallery can do. The main issue with the ViewPager is that it does not allow flings for fast scrolling, and the main problem with HorizontalScrollView is that it does not center-lock.
So for the wizard form, have you looked into the alternatives to see which might be a good replacement? Would you suggest continuing to use the deprecated Gallery (it has flaws, but maybe those aren't so important in a wizard form) or use a ViewPage (not likely to need flings in a wizard. Though wish it could handle view recycling for me)? I assume the HorizontalScrollView is not a good replacement since it does not center-lock which would be a necessity.