spring_flow's Introduction
唉,终于写好一个加载本地图片的瀑布流demo。图片借用@dodola大哥的资源(不要打我)。不过代码是自己写的。 现在知道的有两个问题: 1.已经设置到ImageView里面的bitmap没有回收。回收和reload的代码都已经写好,可是用上之后也没什么感觉,不回收虚拟机也不会报错。所以暂时注释掉了。其实还有另外一个很重要的原因是想不出一个比较好的回收策略。所以暂时放着。 2.图片分配的方式并不是很合理。现在采用的策略是每一个waterfall分配一张图片,就这样轮流下去。因为本地加载图片的速度较快,所以在快速滑动的过程中不好判断图片的高度。所以就现在吧。 ps:这个项目的名字真的是。。。。。。。。无从吐槽,好像名字是无法改的吧。
spring_flow's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.