Coder Social home page Coder Social logo

Comments (6)

daniel-luberda avatar daniel-luberda commented on August 10, 2024 6

@saraq85 Just use its alternate constructor (either in C# or XAML):

public FlowListView(ListViewCachingStrategy cachingStrategy) : base(cachingStrategy)

from dltoolkit.forms.controls.

99hats avatar 99hats commented on August 10, 2024 1

This is a great library, except it is crashing on android when scrolling backwards (up instead of down)
I'm assuming this helps, but what does using the alternate constructor look like in XAML?

from dltoolkit.forms.controls.

RicardoMoraisPOR avatar RicardoMoraisPOR commented on August 10, 2024 1

@johntsil @99hats a little late, but here is how you can pass a diferent CachingStrategy over XAML:

 <flv:FlowListView>
     <x:Arguments>
         <ListViewCachingStrategy>RetainElement</ListViewCachingStrategy>
     </x:Arguments>
 </flv:FlowListView>

And here are the docs on Passing Arguments in XAML

from dltoolkit.forms.controls.

daniel-luberda avatar daniel-luberda commented on August 10, 2024

It's already enabled by default. Can you give more details of your use-case?

from dltoolkit.forms.controls.

saraq85 avatar saraq85 commented on August 10, 2024

How can i set the Caching strategy? I want to change it to "RetainElement" in order to fix the issue for Android 7 (crash when scrolling the listview), is it possible?

from dltoolkit.forms.controls.

johntsil avatar johntsil commented on August 10, 2024

Hello , how can i use caching strategy over XAML? When i use CachingStrategy ="RetainElement" my xaml doesnt even build. Thanks a lot

from dltoolkit.forms.controls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.