Created
November 5, 2023 15:12
-
-
Save saurabharora90/d6e05be8840b8c5e72e8fff9d6bd5aa5 to your computer and use it in GitHub Desktop.
With key
This file contains hidden or 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
- val isValidHashtag: Boolean by remember { | |
+ val isValidHashtag: Boolean by remember(hashtags) { | |
derivedStateOf { | |
!inputHashTag.contains(" ") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment