79514272

Date: 2025-03-17 10:22:04
Score: 2.5
Natty:
Report link

You must place platform-specific code in a data layer (https://developer.android.com/topic/architecture#recommended-app-arch).

The data layer

expect fun createTimer(): Timer

The UI layer

val timer = createTimer()

timer.startTimer(timerListerner)

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kirill