You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MVUX][ListView] How to: Nested ListFeed / ListState + FeedView with ListView? #2871
kind/contributor-experienceCategorizes issue or PR as related to improving the experience of contributorskind/documentationCategorizes an issue or PR as relevant to 3rd party dependencies that are consumed by this projecttriage/untriagedIndicates an issue requires triaging or verification.
I would like to know if and how we can get and define Nested FeedLists using Templates and ListFeed + ListState
AND it should also tell how to use the ItemTemplateSelector for selecting the template depending on the datamodel.
Got a user request on my Tutorials for this: > How can you create a representation of a list in, for example, a ListView – e.g., a list contains different objects, and these objects also have their own lists and data types. Based on the data type, the objects should then be displayed either as checklists, radio buttons, or text boxes.
For which Platform:
iOS
Android
WebAssembly
WebAssembly Renderers for Xamarin.Forms
Windows
Desktop
Anything else we need to know?
We would love to know of any friction, apart from knowledge, that prevented you from sending in a pull-request
Well, you are indeed funny asking this! Maybe because of missing advises in our docs? Transfering the c# markup to xaml did not work for me for this...
Are you imagining that there is a parent FeedView and within each of the main ListView's Items, a separate FeedView that would be used to display the child ListFeeds?
Or is this more a question of how to have this sort of behaviour regardless of it using an MVUX app?
It might be helpful at first if we have a small sample with just basic ListViews that we could then adapt to use MVUX
Pinging @dr1rrb if he has any guidance on nesting Feeds and Lists
@kazo0
Hm I have a rough idea of what's meant but to make sure, I asked him to check up here and maybe give a better View.
What I would have in mind is:
Mvux Presentation 👍
Xaml Markup
How To: sage of TemplateSelector for this scenario (which is where he told he will look more into today)
I would assume a structure of presentation like this:
- FeedView
- ListView
- (Data/Control-)Template for DataType1
- RadioButton
- TextBlock
- Image (or whatever content else)
- !Nested Controls and structure using ListFeed or ListState!
- (Data/Control-)Template for DataType2
- CheckBox
- TextBlock
- Image (or whatever content else)
- !Nested Controls and structure using ListFeed or ListState!
Maybe imagine the structure similar like the RouteMap+Views we have for Navigation Extensions in mvux 💡
There you have ViewMap or DataViewMap as templates and the RouteMap as provider of the structure itself
kind/contributor-experienceCategorizes issue or PR as related to improving the experience of contributorskind/documentationCategorizes an issue or PR as relevant to 3rd party dependencies that are consumed by this projecttriage/untriagedIndicates an issue requires triaging or verification.
Activity
kazo0 commentedon Jul 30, 2025
@DevTKSS Are you picturing something like this?
Are you imagining that there is a parent FeedView and within each of the main ListView's Items, a separate FeedView that would be used to display the child ListFeeds?
Or is this more a question of how to have this sort of behaviour regardless of it using an MVUX app?
It might be helpful at first if we have a small sample with just basic ListViews that we could then adapt to use MVUX
Pinging @dr1rrb if he has any guidance on nesting Feeds and Lists
DevTKSS commentedon Jul 30, 2025
@kazo0
Hm I have a rough idea of what's meant but to make sure, I asked him to check up here and maybe give a better View.
What I would have in mind is:
I would assume a structure of presentation like this:
Maybe imagine the structure similar like the RouteMap+Views we have for Navigation Extensions in mvux 💡
There you have ViewMap or DataViewMap as templates and the RouteMap as provider of the structure itself