anastr / SpeedView

Dynamic Speedometer and Gauge for Android. amazing, powerful, and multi shape :zap:
Apache License 2.0
1.29k stars 324 forks source link

Small change request, make function open #247

Open agronick opened 9 months ago

agronick commented 9 months ago

Kotlin has this feature where protected functions can't be overridden without being marked as open. I am maintaining a fork just to open this function. I am trying to move the text up slightly to put an icon below it. The easiest way to do this was to override this function.

The example for how I'm using this is here: https://github.com/agronick/aa-torque/blob/master/app/src/main/java/com/aatorque/stats/TorqueSpeedometer.kt