Serve an XML or Compose UI at RUNTIME

Опубликовано: 05 Октябрь 2024
на канале: CodingWithMitch
4,787
212

The BEST android courses in the world: https://codingwithmitch.com/

I made a simple app that serves either a (1) compose UI or (2) XML UI. Which UI is served is configurable at runtime. So basically I built two almost identical UIs, one in compose and one in XML. And I'm retrieving a flag from Firebase remote config. Its just a boolean. If true the app will serve the compose UI. If false it will serve the XML UI.

Code: https://github.com/mitchtabian/ABTest...

Social:
  / mitch_tabian  
  / codingwithmitch  
.
.