Describe the bug
As title. In previous version, WeekViewEntity.Style.Builder() has setTextStrikeThrough() to customize individual event chip style. As below code.
@PublicApi
@Deprecated("Use a SpannableString for the title or location instead.")
fun setTextStrikeThrough(strikeThrough: Boolean): Builder {
style.isTextStrikeThrough = strikeThrough
return this
}
However when I try using SpannableString for individual WeekViewEntiry. Once SpannableString are set to one WeekViewEntity, other WeekViewEntity (event chip) also apply this SpannableString.
To Reproduce
Steps to reproduce the behavior:
Scroll to date which has set StrikeThrough SpannableString WeekViewEntiry
Browse other events
Event are all apply this SpannableString
Expected behavior
Each WeekViewEntiry has individual SpannableString setting, not affect to other events
Describe the bug As title. In previous version,
WeekViewEntity.Style.Builder()
hassetTextStrikeThrough()
to customize individual event chip style. As below code.However when I try using SpannableString for individual WeekViewEntiry. Once SpannableString are set to one WeekViewEntity, other WeekViewEntity (event chip) also apply this SpannableString.
To Reproduce Steps to reproduce the behavior:
Expected behavior Each WeekViewEntiry has individual SpannableString setting, not affect to other events
Screenshots
https://github.com/thellmund/Android-Week-View/assets/5635575/0d8837e9-7373-4a2f-90b8-b5dfbb43d8be
My code for additional information
Additional context