Related Posts
Map function in Java
I read on some email signature something along the lines of: “If I had a dollar for every for(int i=0; i < size; i++) { ... } I've written I'd be rich" After coding on Android and learning about some of the tips for performance, like "With an ArrayList, a hand-written counted loop is about […]
Things to remember when compiling/linking C/C++ software
Things to remember when compiling/linking C/C++ software by Angel Leon. March 17, 2015; Last update on December 14, 2023 Updated on February 27, 2023 Updated August 29, 2019. Include Paths On the compilation phase, you will usually need to specify the different include paths so that the interfaces (.h, .hpp) which define structs, classes, constants, […]
[ANDROID] How to set a custom title View on a DialogPreference extending class.
So you have a FooDialogPreference class which extends DialogPreference, and one of the things you’d like to do to it, is to change the Dialog’s title. DialogPreference happens to be a bit of a bitch, you can’t just call getDialog() and start playing with its features before it is shown because the Dialog object is […]