I’m having trouble working out how ComposeState and FlowComposerBase handles 
reuses lines.

ComposeState has a bunch of logic to figure out whether to reuse a 
TextFlowLine. If it decides to not reuse the line it adds a new one.

Right now, I’m having an issue that each compose adds extra lines to the 
flowComposer. I assume there’s a bug somewhere that’s causing the composer to 
think it’s not supposed to reuse a line when it should, but it seems to me that 
something is wrong if extra lines are not being removed. It seems there’s code 
to add lines, but no code to remove lines. If anyone is familiar with how this 
works, I’d love to hear!

Harbs

Reply via email to