When RadListView is in grid mode (SpanCount > 0), there is no spatial navigation with the keyboard.
Up and down arrows move the focused item, left and right arrows don't. (Also: it doesn't seem to be possible to style the focused item…)
Crude drawing:
Only the first column has keyboard navigation, up and down. It's invisible, though; internally, an item is focused and will execute ItemTap when pressing the return key, or will select the item when pressing the spacebar. That part is fine.
After clicking/tapping an item in any column after the first one and then pressing the down arrow, for example, we get this:
Pink is where we clicked/tapped, cyan is what's internally focused after pressing the down arrow.
Please note again that focus != selection.
Expected behavior:
Further suggestions:
Does the RadListView control support snap scrolling? I could not find any documentation on this.
The staggered layout lays out items in a staggered grid formation. the layout is available as follow:
Telerik Ui for Xamarin.iOS ListView
The BorderLocation property of ListViewItemStyle seems to either not be working correctly, or is severely limited in its capabilities. Although the Location enum is not marked with [Flags], the values 0, 1, 2, 4, 8, 15 seem to imply bit flags that should be able to get OR'd together. However, when trying to use Location.Top | Location.Bottom, the result is NO border at all.
Example:
public class BorderLocationExample : ContentPage
{
private readonly ListViewItemStyle BorderAll = new ListViewItemStyle
{
BorderColor = Color.Blue,
BorderLocation = Location.All,
BorderWidth = 8
};
private readonly ListViewItemStyle BorderTop = new ListViewItemStyle
{
BorderColor = Color.Blue,
BorderLocation = Location.Top,
BorderWidth = 8
};
private readonly ListViewItemStyle BorderTopAndBottom = new ListViewItemStyle
{
BorderColor = Color.Blue,
BorderLocation = Location.Top | Location.Bottom, // <-- DOESN'T WORK !!! These items have NO border at all.
BorderWidth = 8
};
public BorderLocationExample()
{
BackgroundColor = Color.Gray;
var items = new ObservableCollection<string>
{
"Item 1",
"Item 2",
"Item 3",
};
Content = new StackLayout
{
Orientation = StackOrientation.Vertical,
Children =
{
new RadListView
{
ItemsSource = items,
ItemStyle = BorderAll
},
new RadListView
{
ItemsSource = items,
ItemStyle = BorderTop
},
new RadListView
{
ItemsSource = items,
ItemStyle = BorderTopAndBottom
},
}
};
}
}
Hello,
Right now, I use SyncFusion ListView because of several limitations of the RadListView :
- no way to make the ScrollItemIntoView animated. It results with a UI which doesn't look smooth or moden.
- no way to remove the highlight on item tap even if selectionMode is set to none. My users think there is a hidden action made
Am I missing something ? I would like to get rid of SyncFusion and only keep Telerik. But the ListView is by far the control I use the most and I can't really make regression on that part. Because I moved to SyncFusion due to user's feedback that don't like the highlight and that the scroll wasn't smooth and so the app looks like slow / not modern enough.
Do you think those features can be added in the roadmap ?
It would be nice to compete a bit more with the SyncFusion ListView which is very nice to use from a developper point of view. Althought the RadListView is great too. It's just that I'm waiting for improvment since a year.
PS : the documentation is lacking of scrolling / highlight part saying it's not possible or require a custom renderer and then, giving the first steps to create those renderers. I can't be the only one to struggle with this.
Thanks a lot
Instead of just a tap and hold gesture, expose a method in the RadListView, which accepts a list view item, that can programmatically begin reorder mode. Scenario Usage: Touching a "handle" icon button the ListViewTemplateCell would immediately enter reorder mode instead of requiring a hold gesture.
Add an option to set the MinimumItemLength to a LayoutDefinition (both Linear and Grid). This is intended to act like you've set ItemLength, but still allows for expansion if the Cell content is larger.
Please check this forum link (https://www.telerik.com/forums/listviewtextcell-text-vertically-not-centered-android) In Android text in ListViewTextCell can not center aligned and can not change alignment of any direction. iOS it seems OK No 1 screenshot shows iOS No 2 screenshot shows Android