It would be great to have an empty template for the ListView. I know I can use another element and turn visible on and off, but a template would be much cleaner.
1 Answer, 1 is accepted
0
Lance | Manager Technical Support
Telerik team
answered on 31 May 2017, 07:45 PM
Hi Craig,
The reason it's not available for Xamarin.Forms is because not all the individual native control have support for it yet. However, you can implement it for some by using a custom renderer and using the native control's empty content properties.
- For Android: There is support for EmptyContent, see here.
- For iOS: There is no current support for EmptyContent. In your custom renderer, you could have your own UIView for the TKListView.BackgroundView property, then when the Items count is more than one you can clear it.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items