Created
August 31, 2022 07:28
-
-
Save pahill/f05af80b59c74d18d65443b85e6ce081 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.koin.core.component.KoinComponent | |
import org.koin.core.component.inject | |
... | |
class SearchBoxHelper : KoinComponent { | |
private val searchBox : SearchBox by inject() | |
fun findByName(name: String) : String = | |
searchBox.findStaffMemberByName(name).toString() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment