Unplanned
Last Updated: 28 Feb 2023 13:53 by Nathan

Having ContentViews for left and right item swipe

  • Remove an Item from the List View Collection using right swipe content (The Item Source is then re-initialized as a new Observable Collection)
  • Attempt to perform a Swipe Gesture on any list view item.

The ListView crashes

Unplanned
Last Updated: 21 Mar 2024 11:58 by ADMIN

When the VerticalItemSpacing is greater than 1 and an ItemStyle with a Border is defined the background of the item is overlapping the border.

 

             <telerik:RadListView Grid.Column="0" ItemsSource="{Binding Source}">

                <telerik:RadListView.LayoutDefinition>

                    <telerik:ListViewLinearLayout Orientation="Vertical" VerticalItemSpacing="4" />

                </telerik:RadListView.LayoutDefinition>

                <telerik:RadListView.ItemStyle>

                    <telerik:ListViewItemStyle

                        BackgroundColor="Green"

                        BorderColor="LightGreen"

                        BorderLocation="All"

                        BorderWidth="1" />

                </telerik:RadListView.ItemStyle>

                <telerik:RadListView.SelectedItemStyle>

                    <telerik:ListViewItemStyle

                        BackgroundColor="Orange"

                        BorderColor="OrangeRed"

                        BorderLocation="All"

                        BorderWidth="1" />

                </telerik:RadListView.SelectedItemStyle>

                <telerik:RadListView.PressedItemStyle>

                    <telerik:ListViewItemStyle

                        BackgroundColor="Orange"

                        BorderColor="OrangeRed"

                        BorderLocation="All"

                        BorderWidth="1" />

                </telerik:RadListView.PressedItemStyle>

 

                <telerik:RadListView.ItemTemplate>

                    <DataTemplate x:DataType="local:SourceItem">

                        <telerik:ListViewTemplateCell>

                            <telerik:ListViewTemplateCell.View>

                                <Grid>

                                    <Label Margin="10" Text="{Binding Name}" />

                                </Grid>

                            </telerik:ListViewTemplateCell.View>

                        </telerik:ListViewTemplateCell>

                    </DataTemplate>

                </telerik:RadListView.ItemTemplate>

            </telerik:RadListView>

 


Unplanned
Last Updated: 10 Apr 2024 09:24 by Tom

if you start to reorder an item, and then drop it in the same position that it already had (i.e. abort/cancel the reorder) , the gray color is now stuck. The issue happens only on Android.

1 2