mirror of
https://github.com/pachli/pachli-android.git
synced 2025-02-02 10:26:54 +01:00
514b295fe1
Using a sealed interface (instead of a sealed class) at the root of the hierarchy avoids the overhead of having to create and initialise the class (visible in the generated bytecode). It also makes the instantiation code slightly less cumbersome because the code doesn't need to pass parameters to the root's constructor.