Android Gallery scrolling behind the scene!

Problem

GridView

AsyncTask

Caching

Reused View

public View getView(int position, View convertView, ViewGroup parent)

Overall mechanism

Conclusion

  • reuse View on GridView
  • using LRU cache in memory and disk
  • using asynchronous task

--

--

--

🚀 Marvelous Senior Backend Software Developer 📚 Like to share my knowledge 🎤 Beginner Public Speaker 🏠💻 Live and work in London https://github.com/oleg-sta

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Why now is the time to embrace the benefits of low code platforms

Vim and TWM open a new curious world

Distributed Computing from a different dimension

How To Set Up A GKE Private K8S Cluster - Part 2

The difference between a hard link and a symbolic link, and other miscellaneous information on the…

Laravel Sending Emails | The Easiest and Simple Way

Laravel Sending Emails | The Easiest and Simple Way

Using cron to neatly automate tasks

Introduction Image containing a clock and some code

Scarpe Naver video results with SerpApi

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Oleg Stadnichenko

Oleg Stadnichenko

🚀 Marvelous Senior Backend Software Developer 📚 Like to share my knowledge 🎤 Beginner Public Speaker 🏠💻 Live and work in London https://github.com/oleg-sta

More from Medium

Android — Intercept POST form data inside of WebView

Google I/O 22: Android Keynote

Dagger 2 Dependency Injection Part 1