Skip to content

Instantly share code, notes, and snippets.

@saurabharora90
Created November 5, 2023 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabharora90/ccd6423db4d5f719d83797b24641da11 to your computer and use it in GitHub Desktop.
Save saurabharora90/ccd6423db4d5f719d83797b24641da11 to your computer and use it in GitHub Desktop.
Add logs
val isValidHashtag: Boolean by remember {
+ Log.i("Saurabh", "Running remember block")
derivedStateOf {
+ Log.i("Saurabh", "Calculating derivedStateOf")
!inputHashTag.contains(" ")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment