Unplanned
Last Updated: 31 May 2023 15:03 by Akesh Gupta
You should be able to swipe left or right from any part of the row and have it work, not just a very small unmarked section near each edge;
Unplanned
Last Updated: 30 May 2023 10:39 by JP

The bug can be reproduced quite easily with the SDK examples. Choose any ListView example from the LoadOnDemand category that uses LoadOnDemandMode set to Automatic, e.g. ListView/LoadOnDemand/LoadOnDemandEvent. Remove the initial items from the ItemsSource:

public ViewModel()
{
    this.Source = new ObservableCollection<string>();
    //for (int i = 0; i < 14; i++)
    //{
    //    this.Source.Add(string.Format("Item {0}", i));
    //}
    this.LoadItemsCommand = new Command(this.LoadItemsCommandExecute);
}

Run the example to observe the exception almost immediately.

Unplanned
Last Updated: 14 Nov 2023 08:15 by Nico
Created by: JP
Comments: 3
Category: ListView
Type: Feature Request
6
Provide a way to set header and footer that are always visible in the ListView and are excluded from the scrolling.
Currently the property exists only for GroupHeaders. I want to have the same option for the HeaderTemplate. 
Unplanned
Last Updated: 26 Apr 2023 21:00 by Aaron

Hi Team,

Please expose the ScrollViewer, or expose a method on the RadListView that allows the developer to set a Y device-independent vertical position. Setting the Y value will trigger the internal/native scrollview to go to that position without any special animations or manipulation. Just a pure position set.

I need to be able to programmatically scroll to a specific position in the list. Yes, I am aware of the ScrollToItem methods, however that will not work in my case as I explicitly need the Y position (for acceleration and manipulation of the exact position).

As an example, here's how I am currently doing it for a ScrollView:

private async Task AutoScrollAsync()
        {
            while (!(this.ScrollVelocity == 0 || this.ScrollVelocity > 0 && this.IsScrolledToBottom() || this.ScrollVelocity < 0 && this.IsScrolledToTop()))
            {
                await this.scrollView.ScrollToAsync(0, this.CalculateNextScrollY(), false);
                await Task.Delay(ScrollDelay);
            }

            this.StopScrolling();
        }

I am hoping to be able to do the same thing for the RadListView.

Thank you,

Aaron

Unplanned
Last Updated: 28 Mar 2023 13:49 by Victor
We want a way to change/control the animation during a drag and drop. Instead of rearranging everything in the live time, it'd be nice to have a line indicator appear between the rows to show where the row will be placed as you drag the row and just rearrange everything after it's released. 
Unplanned
Last Updated: 20 Mar 2023 11:04 by Marwen

When having a nested grid layouts with auto and definitive row heights, the content in the ListView ItemTemplate is not property sized only on iOS. On Android, MacCatalyst and WinUI the content is property sized. 

Solution:

1. Using only auto-sized grid rows, 

2. Using grouping and simplifying the layout, removing nested grid layouts, and using a vertical stack. 

Unplanned
Last Updated: 08 Mar 2023 07:40 by Christoph
Created by: Christoph
Comments: 0
Category: ListView
Type: Feature Request
2
Add events to handle when listview cells are unloaded/recycled and created.
Unplanned
Last Updated: 07 Mar 2023 10:37 by Christoph
Swiping the cell overlaps the next cell when itemspacing is set. 

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: 30 Jan 2023 13:10 by ADMIN
Created by: SturmA
Comments: 1
Category: ListView
Type: Feature Request
1
Provide an option to set corner radius to the ListView item style and selected item style
Unplanned
Last Updated: 16 Jan 2023 09:41 by Larry
Created by: Larry
Comments: 0
Category: ListView
Type: Feature Request
0
Provide keyboard navigation support for ListView.
Unplanned
Last Updated: 03 Jan 2023 08:19 by Nathan
Created by: Nathan
Comments: 0
Category: ListView
Type: Feature Request
1
Instead of just a tap and hold gesture (reordering through the UI), expose an option to programmatically enter reordering.
Unplanned
Last Updated: 26 Dec 2022 13:26 by Aleksandra
Hallo, imagine we want to extend your tutorial example from this link:

https://docs.telerik.com/devtools/maui/controls/listview/styling/group-header



Imagine we have additional field in City class (CountryFlag as Image)

 

public class City
{
public string Name { get; set; }
public string Country { get; set; }
public Image CountryFlag { get; set; }
}

 

Unplanned
Last Updated: 26 Dec 2022 08:08 by Yohancef
When users trigger a swipe gesture of a ListView item and there is a change from code at that time, the UI is not updated immediately, but when the item is swiped back.
Unplanned
Last Updated: 19 Dec 2022 15:44 by Rob

There is a slow performance when scrolling, expand/collapse items when the ListView Groups are sticky and GroupHeaderTemplate is used. 

Workaround
1. Set IsGroupHeaderStickty to false. 

or

2.. Use the default group header template

Unplanned
Last Updated: 29 Nov 2022 08:17 by AscanioTziazas

Currently the LoadOnDemandCollection accepts a callback of the following format in the constructor:

public LoadOnDemandCollection(Func<CancellationToken, IEnumerable> action)

It is a very common scenario to populate the items asynchronously. In its current form the collection would require blocking the current thread to populate the results:

ItemsSource = new ListViewLoadOnDemandCollection((cancelationToken) =>
{
    var result = new List<ItemsModel>();
    try
    {
        var items = dataService.GetItemsAsync().Result;

        // TODO: Handle the result.

        return result;
    }
    catch (Exception e)
    {
        // TODO: Handle the exception.
        return null;
    }
});

This is not desired, as using Task.Result blocks the current thread and is considered an anti-pattern, in general.

A better approach would be to add a second overload of the constructor, allowing asynchronous calls:

public LoadOnDemandCollection(Func<CancellationToken, Task<IEnumerable>> action)

This way we can use async and await in the callback instead:

ItemsSource = new ListViewLoadOnDemandCollection(async (cancelationToken) =>
{
    var result = new List<ItemsModel>();
    try
    {
        var items = await dataService.GetItemsAsync();

        // TODO: Handle the result.

        return result;
    }
    catch (Exception e)
    {
        // TODO: Handle the exception.
        return null;
    }
});

According to my tests, the first blocking approach is not a problem, as the ListViewLoadOnDemandCollection starts a thread internally. That behavior is not obvious however, and using Task.Result is somewhat counterintuitive, so the second approach is much better from the user's perspective.

Unplanned
Last Updated: 29 Jan 2024 06:11 by ADMIN
Created by: SturmA
Comments: 5
Category: ListView
Type: Bug Report
13
when changes are made in the xaml, they are not applied live in the running app using the Hot Reload
Unplanned
Last Updated: 17 Oct 2022 08:26 by ADMIN

Hi Team,

In the current RadListView implementation, the RadListView will start with all the groups expanded. The only way to have any form of preference is to programmatically interact with the Dataview after-the-fact https://docs.telerik.com/devtools/maui/controls/listview/grouping/expand-collapse 

This is problematic because I need to take a wild guess as to how long it takes for the data to load in the RadListView.Loaded event and then manually collapse them.

Even if I time this perfectly... this results in visual flash for the user because the ListView starts expanded and immediately collapses.

Requested Feature

A better approach that I am requesting a feature for is to have a property available for the RadListView that sets this value ahead of time.

For example, you could add it as a BindableProperty on the GroupDescriptorBase class. 

// THE OFFICIAL BASE CLASS
public abstract class GroupDescriptorBase : OrderedDescriptorBase, IKeyLookup
{
    public object GetKey(object item) => this.GetKeyCore(item);

    protected abstract object GetKeyCore(object item);

    protected virtual object GetDefaultKey(object item) => item;

    // SUGGESTED IMPROVEMENT
    public bool IsExpanded
    {
        get => (bool)GetValue(IsExpandedProperty);
        set => SetValue(IsExpandedProperty, value);
    }
    
    public static readonly BindableProperty IsExpandedProperty = BindableProperty.Create(
        nameof(IsExpanded), 
        typeof(bool), 
        typeof(GroupDescriptorBase), 
        true,  // the default right now is true... do not change that because no breaking changes
        propertyChanged: OnIsExpandedChanged);
    
    static void OnIsExpandedChanged(BindableObject bindable, object oldValue, object newValue)
    {
        if (bindable is GroupDescriptorBase self)
        {
            if (!(bool)newValue)
            {
                // PLEASE DO NOT START WITH GROUPS EXPANDED
            }
        }
    }
}

 

Or you could even put it a little lower, next to the BindableProperty SortOrder:

Thank you for your consideration,

Jian

 

on the GroupDefinition is to have a IsExap

Unplanned
Last Updated: 15 May 2024 13:25 by ADMIN
Created by: Max
Comments: 3
Category: ListView
Type: Feature Request
16

ListView with a TemplateSelector crashes on iOS 16 device!

    <telerik:RadListView ItemTemplate="{StaticResource ActTempSelector}"   ItemsSource="{Binding Suggestions}">

    </telerik:RadListView>

log output is the following:

2022-10-08 20:44:46.810 Xamarin.PreBuilt.iOS[1593:343579] *** NSForwarding: warning: object 0x281edbea0 of class 'Telerik_Maui_Controls_Compatibility_DataControlsRenderer_iOS_TKExtendedListView' does not implement methodSignatureForSelector: -- trouble ahead
2022-10-08 20:44:46.810 Xamarin.PreBuilt.iOS[1593:343579] *** NSForwarding: warning: object 0x281edbea0 of class 'Telerik_Maui_Controls_Compatibility_DataControlsRenderer_iOS_TKExtendedListView' does not implement doesNotRecognizeSelector: -- abort

Unplanned
Last Updated: 02 Aug 2022 13:28 by Allen
Implement alternating item styles for RadListView.