RadBusyIndicator - maintain ScrollView Y position.

1 Answer 17 Views
BusyIndicator
Flotman
Top achievements
Rank 1
Flotman asked on 18 Feb 2024, 04:36 PM

Hi,

I have a problem, with maintaining ScrollY position of ScrollView after RadBusyIndicator gets disabled: 

I have following XAML structure:

    <telerik:RadBusyIndicator>
        <telerik:RadBusyIndicator.Content>
            <ScrollView>
                <StackLayout>
                    .....
                </StackLayout>
           </ScrollView>
        </telerik:RadBusyIndicator.Content>
    </telerik:RadBusyIndicator>

At the very end of StackLayout I have a button that triggers some action and RadBusyIndicator needs to be shown, but when RadBusyIndicator gets Disabled (IsBussy = false) ScrollView go to the very top without triggering Scrolled event in ScrollView. 

How to persist scroll position when using RadBusyIndicator ?

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 19 Feb 2024, 08:46 AM

Hello,

Some issues may occur when adding the content inside the BusyIndicator.Content. We have an integration article here: https://docs.telerik.com/devtools/xamarin/controls/busyindicator/howto/busyindicator-integrate-with-listview the article shows how the content and the busy indicator must be defined. The content is outside of the indicator. Please try this approach and if you have issues, send me a sample repro where the behavior occurs. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
BusyIndicator
Asked by
Flotman
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or