JetPack Compose With Server Driven UI

A new way to build reactive apps with JetPack Compose UI

Siva Ganesh Kantamani
Programming Geeks

--

What is Server Driven UI?

Theoretically, it’s simple: We make a request to the server and receive a JSON response in which we have the logic to inflate views on the screen. Based on the response, we have to render natively developed UI components on the layout. This results in high-quality user experience(because of natively developed UI) and allows more control for the companies over what users can see(we can control every pixel on the screen from our servers).

Server driven UI is the best approach to have more control over the content that we show in mobile applications. It has been around for a while now, but not so popular because there are no platform native UI pattern to build apps through server-driven UI.

Although apps like Airbnb, Swiggy and FlipKart implemented their own frameworks to build apps using server-driven UI, none of them did well outside their environments.

What is JetPack Compose?

Jetpack Compose is a modern toolkit for building native Android UI. Jetpack Compose simplifies and accelerates UI development on Android with less code, powerful tools, and intuitive Kotlin APIs. — Android Developers

--

--