Questions tagged [synchronized-scrolling]

6 questions
5
votes
1 answer

Synchronized scrolling for two Richtextboxes (C#)

I'm in need of some help. Currently I am working on a Script Editor in C# and I have two rich text boxes: programTextBox, where the whole text is and linesTextBox which counts and shows the number of lines. I want them to scroll at the same time. I…
OC_
  • 446
  • 6
  • 19
0
votes
0 answers

Scrolling speed slow down on sync multiple div scrollTop value

When synchronising multiple independent div elements scrolling, there is slowness in the scrolling behaviour. I created a sample below. I tried a lot of logic measures/code snippets/solutions. but didn't get out of this bug. I need your help in…
0
votes
1 answer

Dynamical load of two divs that are synchronized in scrolling

I have figured out 'dynamical load' and 'synchronized scroll of two divs' separately, but now I'd like to combine them. Simple HTML:
One line
One line
... …
0
votes
1 answer

Block 2 threads accessing one if block in java

I have a while loop in a method. In that while loop I have many if blocks. If I have 2 threads accessing one while loop at the same time how to stop one a unique if block at the same time. Should i have to import any thing? while (true){ if…
0
votes
3 answers

Synchronize scrolling of two ScrollViews inside a RelativeLayout

I need to synchronize the scrolling positions of two ScrollViews. Both ScrollViews contain their individual RecyclerView (I can't put them inside same ScrollView due to design requirements). How can I achieve that?
0
votes
1 answer

HorizontalScrollView with EditText's scrolls when keyboard appear

I have successfully created a list (LinearLayout) that contains multiple dynamic elements/rows. It is filled with content received by webservice. One of the elements per row is a HorizontalScrollView that contains a variable amount of EditText…