I am glad to announce that I got a job in Day2Day tech. I hope this journey continues the way I think I want it to be. All the best for everyone who is on their path to success in life.
Modifer.Node and Modifier.NodeElement
This is the answer for performant hoverable, clickable or focusable without going into recomposition phase. It's kind of a long one but it did the job.
#JetpackCompose#ComposeMultiplatform
I am creating a button without using material components. I have created the effects of hover, focus and pressed. But everything recomposes the button. I have moved the hover bg change to draw phase. That's one down #JetpackCompose#ComposeMultiplatform#CMP
When pushing a border outside the layout, the stroke's corner radius must expand proportionally with the distance it moves outward. Same radius cause awkward gap. To fix this mathematically, use the rule
Outer Radius = Box Corner Radius + (Stroke Width / 2)
#Design#Layout
@jiya_3063 The only reason to buy a mac book is for the battery, because it uses ARM based chip, it uses less battery.
AND the stupidest inevitable reason is because of the XCODE!