Created
August 31, 2022 07:27
-
-
Save pahill/847fef0752ea30f4e6b278b82a99797e 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.android.ext.android.inject | |
... | |
class MainActivity : AppCompatActivity() { | |
private val searchBox: SearchBox by inject() | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) | |
val tv: TextView = findViewById(R.id.text_view) | |
tv.text = searchBox | |
.findStaffMemberByName("Pamela Hill").toString() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment