Unsplash@alexandermils


Unsplash@phaelnogueira

However, what if we want to handle error cases depending on its HTTP status code (401, 402. 403..) or handle each error response globally for logging/debugging error…


Unsplash@dermanuskript

Previous post

HiltAndroidApp

There is no difference in using HiltAndroidApp annotation for building the base DI environment. The role…


Unsplash@sunrisephotography


Unsplash@hudsoncrafted

But the independent characteristics make it difficult to communicate with each other. So the Android SDK supports concepts of the Intent for holding an abstract description of an action to be performed, and the Bundle for passing data based on inter-process communication mechanism. They are one of the most important and basic…


sushioutlaw@unsplash

So what are the best benefits of Jetpack Compose?

  • Code reusability (dramatically less code)
  • Declarative UI (lacks side effects, referentially transparent)
  • Consistency of native codes without using XML files
  • Unidirectional Data Flow (state flows down and events flow…


jenellehayes@Splash

The other role of the Application class is initializing every SDKs and libraries which required ApplicationContext in the application’s whole lifecycle. As the…


mavrick@Unsplash

Next Post

The Hilt reached alpha but there is no official documentation and explains. so I’ve looked…


ninjason @ Unsplash

UX philosophy

Generally, progressBar draws only progress. …


Unsplash @ kalkie

Requesting data to remote server and handling responses is always one of the important issues in Android development. When we are building our project even a small-sized demo project, we have to spend time constructing the REST service structure. Using the modern Android development tool like Retrofit2, OkHttp, LiveData, or RxJava we can implement the network interfaces easily and request asynchronously. But designing standardized response models/interfaces and handling success data and errors are also important things.

Jaewoong Eum

A software engineer: Android, IoT. Interested in Psychology, Magic Tricks, and writing poems. https://github.com/skydoves

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store