forked from alamkanak/Android-Week-View
-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
Screenshots
2023-10-05.10.44.46.mov
My code for additional information

Additional context
- Android version: TargetSdkVersion 31
- WeekView version: 5.3.2
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working