Giter VIP home page Giter VIP logo

bumptech.glide.integration.recyclerview's Introduction

Bumptech.Glide.Integration.RecyclerView

logo

Xamarin.Android implementation of Glide's RecyclerView integration library

NuGet

Introduction

This is a C# implementation of Glide's RecycleView intergration library.

Glide is a fast and efficient image loading library for Android focused on smooth scrolling. Glide offers an easy to use API, a performant and extensible resource decoding pipeline and automatic resource pooling.

...

The RecyclerView integration library makes the RecyclerViewPreloader available in your application. RecyclerViewPreloader can automatically load images just ahead of where a user is scrolling in a RecyclerView.

Combined with the right image size and an effective disk cache strategy, this library can dramatically decrease the number of loading tiles/indicators users see when scrolling through lists of images by ensuring that the images the user is about to reach are already in memory.

Dependencies

  • Xamarin.Android.Glide, v 4.0.0

Setup

Official docs


FAQ

Why reimplement instead of creating a binding library?

Attempts to create binding to the 4.0.0 library yield this error: BINDINGSGENERATOR : warning BG8601: No packages found... and I have no idea why that happened.

It turns out the sources code is small, and a reimplementation in C# is faster than to figure out why the bindings build failed.

The Glide version used by Xamarin.Android.Glide is outdated (v4.0.0)

Xamarin.Android.Glide v4.0.0 package is the only one nuget package with full blown bindings. It's probably easier to take a Xamarin official bindings instead of taking another unproven one.

Discussion on updating Xamarin.Android.Glide

Can this works on later version of Glide?

I didn't notice any difference between v4.0-v4.8 (latest checked on 27 Match 2019) of this RecyclerView integration library.

So, if you can find a newer binding library for Glide, you should be able copy/paste the content in RecyclerView.cs and it should work.

bumptech.glide.integration.recyclerview's People

Contributors

frankie-jbl avatar xyfoo avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

asuka48

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.