DIPSAS / DIPS.Xamarin.UI

A shared UI library that DIPS uses and maintains for their mobile applications.
https://www.dips.com/
MIT License
189 stars 12 forks source link

[Enhancement] SlideableContentLayout, SelectedItem/SelectedIndex #206

Closed haavamoa closed 1 year ago

haavamoa commented 4 years ago

Summary

SlideableContentLayout is a very nice way of creating a slideable list of items on the fly. But what I feel like we are missing is an API that follows the way other Xamarin.Formslist controls is using in terms of the selected item.

API Changes

This is a screen shot of Xamarin.Forms.CollectionView selected item API: image

We could also include the following to make it possible for the user to look at the indexes instead of the objects:

Intended Use Case

SelectedItem - The consumer wants to get the view model setter set when the selected item changed. The consumer wants to set this property in the view model to make the view move. Property, Events, command, commandparameter makes it possible for the consumer to choose what methods they want to use.

haavamoa commented 1 year ago

Closed due to migration to MAUI