Is there an existing issue for this?
Current Behavior
I'm using alphaTab.kotline in an Android app. It's working fine in version 1.3.0. But when I changed to version 1.6.1. The playerReady.on is not triggered.
Expected Behavior
The playerReady.on should be called.
Steps To Reproduce
Code:
I followed the tutorial for Android:
val settings = MutableLiveData<Settings>().apply {
value = Settings().apply {
this.player.enableCursor = true
this.player.enablePlayer = true
this.player.enableUserInteraction = true
this.display.barCountPerPartial = 4.0
this.display.resources.barNumberFont
}
}
......
mAlphaTabView.api.playerReady.on {
Log.i("AlphaTab", "Player is ready")
playPause.visibility = View.VISIBLE
}
Link to jsFiddle, CodePen, Project
No response
Version and Environment
Sorry, I could not find how to call `alphaTab.Environment.printEnvironmentInfo()`
[versions]
agp = "8.12.0"
kotlin = "2.0.21"
coreKtx = "1.17.0"
junit = "4.13.2"
junitVersion = "1.3.0"
espressoCore = "3.7.0"
appcompat = "1.7.1"
material = "1.10.0"
activity = "1.10.1"
constraintlayout = "2.1.4"
alphatab = "1.6.1"
[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
junit = { group = "junit", name = "junit", version.ref = "junit" }
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
androidx-activity = { group = "androidx.activity", name = "activity", version.ref = "activity" }
androidx-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
alphatab = { group = "net.alphatab", name = "alphaTab", version.ref = "alphatab" }
Platform
Android (Native)
Anything else?
No response
Is there an existing issue for this?
Current Behavior
I'm using alphaTab.kotline in an Android app. It's working fine in version 1.3.0. But when I changed to version 1.6.1. The
playerReady.onis not triggered.Expected Behavior
The
playerReady.onshould be called.Steps To Reproduce
Code:
I followed the tutorial for Android:
Link to jsFiddle, CodePen, Project
No response
Version and Environment
Platform
Android (Native)
Anything else?
No response