Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Use a ListView like it is a TableView

$
0
0

Currently I am using a TableView to show different kind of custom view cells. Now I want to add the pull to refresh functionality to the TableView.
Unfortunately, a TableView does not support PullToRefresh by default. So I think the simplest way is to use a ListView instead of a TableView.

My question is, is it possible to fill a ListView with different kind of custom views cells? If so, where can I find an example?

The structure of the ListView should look like this:

<ListView>
    <MyCustomCellType1/>
    <MyCustomCellType2/>
    <MyCustomCellType3/>
    <MyCustomCellType1/>
    <MyCustomCellType3/>
</ListView>

Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>