I think I am doing something really bad here. Is t...
# compose
s
I think I am doing something really bad here. Is there a way to see which part of my code effects performance so bad?
a
Maybe
Profiler
can help? It is located on the bottom tab bar.
s
it makes things worse to launch profiler on emulator. switching a physical device. 🙂
m
there are also some performance issues with live literals: https://stackoverflow.com/q/66517772/115145
s
problem on my case appeared to be
scrollState#scrollToItem(index,offset)
where I was just ignoring index and putting 0, and offset was really big and changing frequently.
now calculating proper index, with offset accordingly, and it is much better.
👍🏻 3