I am using treeview loadondemand, doing an api call for every node that I open. I noticed that when I tried to open an item with 33 children object, it hangs the application.
The issue occurs when TreeViewItemTemplate is used.
Without the itemtemplate no issues.
Above the TreeView there is a Telerik.SegmentedControl, with two segments. If I click on one of the segments the ItemsSource of the TreeView gets updated by using .Add() or Remove() of the ObservableCollection.
If every Segment is called for the first time there is no problem. But if I want to clear all Items and display the empty treeView I get the following Exception.
Java.Lang.IndexOutOfBoundsException: 'Inconsistency detected. Invalid item position 0(offset:-1).state:14 md5a5af569a83c1a3f5c3a8a63bd7d39860.RadExtendedListView{c6376f1 VFED..... ........ 0,0-1200,840 #5}, adapter:com.telerik.widget.list.ListViewWrapperAdapter@b30041b, layout:android.support.v7.widget.LinearLayoutManager@3fd42d6, context:md5db22775bb305bf9756607f4261793d51.MainActivity@1d6cd4f
When CollapseAll method is called, if the first element is out of the screen (after a scroll), the treeview crashes. Available in minor release 2018.3.1109. It will also be available in the R1 2019 release.
Calling TreeView's CheckItem method when the control is loaded, so that you mimic a "pre-checked" TreeView results in NullReferenceException in RadTreeView.Checkbox ToggleItem method.
When there is custom template applied that hosts multiple rows of UI components with total height greater than 44, the template is not measured correctly, leading to wrong visualization.
Available in R3 2018 release.
Expose a BringIntoView or ScrollIntoView method that would scroll the TreeView to a specified TreeViewItem. Available in R3 2018 release. For more details on the feature refer to: https://docs.telerik.com/devtools/xamarin/controls/treeview/treeview-scrolling