Closed nicemak closed 1 year ago
@TorryDo
Hi @nicemak 👋. Sorry for the late reply,
If I understand your question correctly, you want to execute some functions after the expanded-view is visible then set the TextView
right?
If so, after you call expand()
function to show the expanded-view, you can find the id of the TextView and set the text directly
val textView = expandedView.findViewById(R.id.yourTextViewId)
textView.text = "hello world"
If you have any furthur concern, feel free to re-open the issue, thank you 💖
Describe your suggested feature
Thank you for the great library, i am developing an application which needs to perform some function without user action and set to textview, which is inside the layout
expandedView = LayoutInflater.from(this).inflate(R.layout.results, null)
. when expended view is visible this function will execute and perform some task. how to achieve this?Other details
No response
Acknowledgements