Hey i am trying to add space between two words and append in a string builder. Showing in text view its not working and if check in logs it's showing perfectly. Does any one how to fix this?
Copy code
val list = mutableListOf(
"1. Log in Google account\n",
"2. Scroll to the page\n",
"3. Tap disconnect from account to logout"
)
val content = StringBuilder()
list.forEach{ string->
content.append(string.replaceFirst(" " , "\t"))
}
System.out.print("string >> $content")
list_string.text = content
As you see it fine in logs
Vivek Modi
05/28/2021, 10:24 AM
But when i am setting text in text view it's not working