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

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 77050

Trending Articles