Implementation of custom view in the form of an analog clock. Demo project with fragments.

Basic requirements:

  1. Saving the state when changing the device configuration.

  2. Whenever I go to the screen with this clock, the clock should show the correct time.

  3. Easy integration of this clock into any screen. Working with them should be as simple as with any standard Android View: adding via code and via xml layout, installing any size, etc.

  4. Do not use Jetpack Compose UI.

  5. Clean, efficient and easy to read code.

Photos of fragments from the app


View Github