All Stories

Patterns - no_image

Bridge patternThe bridge pattern is a design pattern used for “decouple an abstraction from its implementation so that the two can vary independently”. The bridge uses encapsulation, ...

In tutorial, no_image, patterns, Jan 23, 2025

Patterns - no_image

Adapter patternAdapter pattern is a software design pattern that allows the interface of an existing class to be used as another interface. It is often used to make existing classes w...

In tutorial, no_image, patterns, Jan 23, 2025

Patterns - no_image

Abstract factory pattern

In tutorial, no_image, patterns, Jan 23, 2025

Libraries - no_image

Dependency injection libraries

In tutorial, no_image, libraries, Jan 23, 2025

Libraries - no_image

Dagger 2Dagger is a fully static, compile-time dependency injection framework for Java, Kotlin, and Android. It is based on the Java Specification Request (JSR) 330. It uses code gene...

In tutorial, no_image, libraries, Jan 23, 2025

Libraries - no_image

@Binds vs @Provides@Provides, the most common construct for configuring a binding, serves three functions: Declare which type (possibly qualified) is being provided — this is the ret...

In tutorial, no_image, libraries, Jan 23, 2025

Libraries - hilt_hierarchy

HiltHilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project. Doing manual dependency injection requires yo...

In tutorial, hilt_hierarchy, libraries, Jan 23, 2025

Libraries - no_image

RetrofitThe Retrofit library is a type-safe REST client for Android, Java, and Kotlin, developed by Square. Retrofit by default leverages OkHttp as the networking layer and is built o...

In tutorial, no_image, libraries, Jan 23, 2025

Libraries - no_image

RealmRealm includes an embedded, object-oriented database that lets you build real-time, offline-first applications. You can also use Realm’s hosted application services as a secure b...

In tutorial, no_image, libraries, Jan 23, 2025

Libraries - no_image

OkHttpOkHttp is an HTTP client that’s efficient by default: HTTP/2 support allows all requests to the same host to share a socket; Connection pooling reduces request latency (if HTT...

In tutorial, no_image, libraries, Jan 23, 2025