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

ListViewCachingStrategy - where is it defined?

$
0
0

When I try to use this, the enum can't be found: Error CS0246 The type or namespace name 'ListViewCachingStrategy' could not be found (are you missing a using directive or an assembly reference?)

Code Snipet:

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;

namespace MyAppNamespace
{
class ListViewHolder : ListView
{
List dataSource { get; set; }

    public ListViewHolder(ListViewCachingStrategy strategy) : base(strategy)
    {

    }

Am I using the wrong version of Xamarin.Forms or ???

Thanks.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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