When it comes to Dependencies Injection in Android development, we don’t have many choices:
Despite Dagger's power of auto-generating code for DI, the learning curve is still a big problem for new learners.
Understand that pain point; Hilt was built on top of Dagger to simplify the configuration (which is quite much and complex) and let the developers focus on declare dependencies definition and…
As an Android developer, you probably want to encrypt your application data at some points for security reasons. Those sensitive data can be varied from personal identifiable information (PII), financial records, to enterprise-related data.
By using Jetpack Security (JetSec), you can easily encrypt Files and SharePreferences locally to protect your sensitive information.
To use JetSec in your project, just simply adding the dependencies below in your app’s build.gradle:
JetSec library uses the 2-part system for key management:
Clean Architecture is a software design philosophy that separates the software into many ring levels:
Each of the circle represents different layers of your software and must follow 2 important rules:
Like many other architecture patterns, the main purpose of Clean Architecture is separating concerns. So that:
ANR stands for Application Not Responding, which is the state that your application cannot process user input events or even draw.
The root cause of ANR is when the application’s UI thread has been blocked for too long:
Glasses 👓 Geek 💻 Backpacker 🎒 Climber 🧗♂️