Windowscommunitytoolkit: Loop for Carousel

Created on 31 Aug 2017  路  16Comments  路  Source: windows-toolkit/WindowsCommunityToolkit

Hey guys, Is any work being done in getting loop functionality for Carousel? If yes, any ETA?

WinUI controls help wanted improvements

Most helpful comment

Yes I am. For some reason I am getting compilation issue with the source code. I will start once i pass that.

All 16 comments

Great idea, ping @mimetis

Also, It would be nice to have a forward and backward button

@mimetis and @nmetulev , is this coming anytime soon? If not probably I would go ahead and implement

@Jebarson, feel free to submit a PR to add this, that would be amazing. No work is currently being done for this.

@Jebarson, were you still planing on implementing this?

Yes I am. For some reason I am getting compilation issue with the source code. I will start once i pass that.

@nmetulev I completed the code for this and updated the sample also.

I have got one question though. To achieve this functionality, I had to create a class LinkedList<T>. Should I keep it as a private class inside carousel or should I keep it somewhere where it can be used by programmers as well? If it can be exposed, would Microsoft.Toolkit.Uwp be the right namespace?

That's great. On the LinkedList, any reason why you created a new class instead of using the built in?

The problem with the LinkedList (inbuilt) is that, it doesn't offer circular. The Linked list I wrote offers both circular and normal single linked list. It basically simplifies the code, otherwise I would be writing separate logic for circular and normal.

When Circular Carousel feature is expected in This toolkit?
I need this feature in my app?

This is being worked on in #1542

Ping @Jebarson for a status update.

The PR #1542 is closed. Can we do the same with this issue?

No. It remains a request

Think we'd want to use ItemsRepeater for this, eh? @JustinXinLiu

@Jebarson What's the status on this?

too old and too much fuss about the PR. Consider this closed

Was this page helpful?
0 / 5 - 0 ratings