Last active
January 17, 2018 23:57
-
-
Save CDRussell/a81d91772a38cf3d2602070155fbb4af 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
omnibarTextInput.addTextChangedListener(object : TextWatcher { | |
override fun afterTextChanged(editable: Editable) { | |
viewModel.onOmnibarInputStateChanged(omnibarTextInput.text.toString()) | |
} | |
override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {} | |
override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment