Skip to content

objectiveCarlo/DroidCon2019Hack

Repository files navigation

DroidConSg Video Hack App (DiVHA)

This is app is a combination of some of the talks of DroidConSG 2019 plus some exoplayer concepts that is talk in Day2. I did this app during the talks and after droidconsg day #1. This app play the video of droidconsg 2018 in portrait mode and in landscape mode. For landscape mode the player is either MediaPlayer or Exoplayer, depending on the config from the FeatureFeedRepository class.

Clean Architecture Inspired by Kotlin Multiplatform by Britt Barak (11:30 talk)

Used proper division of source codes. Plus repository patern. CleanArchictecture

Use dependency injection Inspired by Effective DI ... by Adit Lal (13:00 talk)

I did not use Dagger here but implemented my own DI with the help of a singleton class and Android's BuildConfig

Dependency Manager

CleanArchictecture

Build Config

CleanArchictecture

Use of remote config/feature toggle Inspired by Remote Config and Beyond by Ayushi Gupta (11:00 talk)

The landscape player implementation is being controlled by a remote config.

{
  "features": {
    "player": {
      "exoplayer": false,
      "mediaplayer": true
    }
  }
}

Use of firestore for remote config/ feature toggle Inspired by Getting Started with Cloud Firestore Workshop (13:30 talk)

CleanArchictecture

Sample Video

https://www.youtube.com/watch?v=ozjtoTc5eS0

About

Collection of things Ive learned in droidcon SG 2019

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages