Tam H. DoaninThe StartupFaster SQLite Lookup Using Without Rowid OptimizationA WITHOUT ROWID table can use about half the amount of disk space and can operate nearly twice as fast compared to an ordinary rowid table.5 min read·Feb 18, 2021----
Tam H. DoaninProAndroidDevBuild.VERSION in Unit TestingTo write unit test for build version, you can: Modify the build version field at runtime or Create a wrapper for build version checking5 min read·Feb 17, 2020----
Tam H. DoaninProAndroidDevWhat is the difference between @+id/ and @id/?The plus sign in “@+id/” tells build tools that you are declaring a new resource. If simplicity is what you like, just use “@+id/” anywhere4 min read·Feb 3, 2020--1--1
Tam H. DoanSearching for code on Stack Overflow makes you a bad developer?Learning is about finding and understanding. But if you just skip the “understanding” part and only focus on “finding”, then it’s your fail5 min read·Feb 1, 2020----
Tam H. DoaninProAndroidDevUtils class in KotlinUnlike Java, there is no static in Kotlin. You can create utils class by putting methods inside an object, or use package-level functions5 min read·Jan 17, 2020--6--6
Tam H. DoanPrivate IP and Public IP? What is the difference?An Internet Protocol address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol4 min read·Oct 27, 2019----
Tam H. DoanConstructor and Inheritance in C#When initializing new instance of a subclass, constructor of superclass will be called first, after constructor of the subclass will be…3 min read·Sep 28, 2019----
Tam H. DoaninProAndroidDevSplit layout into subfolder in Android StudioIs your res/layout too big? Let imagine while confusing running for deadline, and you can’t remember the name of XML layout that need fix4 min read·Sep 23, 2019--11--11
Tam H. DoanYou are privileged to be a software developer!Instead of getting annoyed by worries, try to live and learn by experience everything that come up to your life. Never stop learning!4 min read·Sep 22, 2019--1--1
Tam H. DoaninAndroidPubVirtual Machine in Android: Everything you need to knowReplace Dalvik, ART performs the translation of the app’s bytecode into native instructions that later execute by device runtime…6 min read·Aug 4, 2019--1--1