package Ġal man akka . ui . extensions Ċ Ċ import Ġal man akka . core . DayOfWeek Ċ import Ġal man akka . core . ID ay Ċ import Ġal man akka . core . IM on th Ċ import Ġal man akka . core . be haviors . I Behavior Container Ċ import Ġal man akka . ui . be haviors . ID ay Label Text Behavior Ċ import Ġal man akka . ui . be haviors . ID ay Text Behavior Ċ import Ġal man akka . ui . be haviors . IM on th Label Text Behavior Ċ import Ġandroidx . appcompat . widget . AppCompat TextView Ċ Ċ fun ĠI Behavior Container . set Day TextStyle And Pre computed Text Future ( ĊĠĠĠĠĠĠĠ Ġmonth : ĠI Month , ĊĠĠĠĠĠĠĠ Ġday : ĠID ay , ĊĠĠĠĠĠĠĠ ĠtextView : ĠAppCompat TextView Ċ ) Ġ{ ĊĠĠĠ Ġval Ġday Text Behavior Ġ= Ġbehaviors . as Sequence () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. filter Is Instance < ID ay Text Behavior >() ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. filter Ġ{ Ġit . is Provide ( this , Ġmonth , Ġday ) Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. last OrNull () Ġ?: Ġreturn ĊĊĠĠĠ Ġday Text Behavior . setText Style And Pre computed Text Future ( this , Ġmonth , Ġday , ĠtextView ) Ċ } Ċ Ċ fun ĠI Behavior Container . set Day Label TextStyle And Pre computed Text Future ( day OfWeek : ĠDay OfWeek , ĠtextView : ĠAppCompat TextView ) Ġ{ ĊĠĠĠ Ġval Ġday Label Text Behavior Ġ= Ġbehaviors . as Sequence () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. filter Is Instance < ID ay Label Text Behavior >() ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. filter Ġ{ Ġit . is Provide ( day OfWeek ) Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. last OrNull () Ġ?: Ġreturn ĊĊĠĠĠ Ġday Label Text Behavior . setText Style And Pre computed Text Future ( day OfWeek , ĠtextView ) Ċ } Ċ Ċ fun ĠI Behavior Container . set Month Label TextStyle And Text ( month : ĠI Month , ĠtextView : ĠAppCompat TextView ) Ġ{ ĊĠĠĠ Ġval Ġmonth Label Text Behavior Ġ= Ġbehaviors . as Sequence () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. filter Is Instance < IM on th Label Text Behavior >() ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. filter Ġ{ Ġit . is Provide ( month ) Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. last OrNull () Ġ?: Ġreturn ĊĊĠĠĠ Ġmonth Label Text Behavior . setText Style And Text ( month , ĠtextView ) Ċ }