- 26 1月, 2015 1 次提交
-
-
由 Sam Judd 提交于
-
- 25 1月, 2015 1 次提交
-
-
由 Sam Judd 提交于
-
- 23 1月, 2015 1 次提交
-
-
由 Sam Judd 提交于
Fixes #301.
-
- 22 1月, 2015 2 次提交
- 21 1月, 2015 3 次提交
- 10 1月, 2015 2 次提交
- 30 12月, 2014 1 次提交
-
-
由 Sam Judd 提交于
Fixes #298
-
- 27 12月, 2014 3 次提交
-
-
由 Sam Judd 提交于
Fixes #295.
-
由 Sam Judd 提交于
-
由 Sam Judd 提交于
Fixes #283. We use BitmapFactory.Options#inJustDecodeBounds to decode the width and height of images before decoding the full image so that we can downsample large images to avoid memory pressure. To do so, we use mark/reset on a buffered InputStream. To handle images with large headers, we set a large (currently 5mb) mark limit. However, there's always the chance that that limit is insufficient even with a well formatted image and a bug free decoder. Since downsampling is typically an optimization, if such a failure occurs we still want to decode the full image, even if we can't obtain the dimensions. By enforcing we don't read beyond our limit, we ensure that the header read fails recoverably, so that the full image can still be decoded.
-
- 22 12月, 2014 1 次提交
-
-
由 Sam Judd 提交于
Fixes #286
-
- 21 12月, 2014 6 次提交
-
-
由 Sam Judd 提交于
-
由 Sam Judd 提交于
-
由 judds 提交于
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82270509
-
由 judds 提交于
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82003436
-
由 ear 提交于
isDetached seems like the wrong thing to assert here since isDetached has to do with whether the fragment has UI or not. It could still be alive and attached to an activity. See http://developer.android.com/reference/android/support/v4/app/Fragment.html#isDetached(). ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81815183
-
由 ozymandias 提交于
------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81384031
-
- 10 12月, 2014 1 次提交
-
-
由 Sam 提交于
fixed the getRoundedSampleSize() calculation bug
-
- 09 12月, 2014 1 次提交
-
-
- 02 12月, 2014 1 次提交
-
-
由 Sam 提交于
Add an original size constant.
-
- 24 11月, 2014 2 次提交
- 22 11月, 2014 1 次提交
-
-
由 Sam Judd 提交于
-
- 21 11月, 2014 3 次提交
- 20 11月, 2014 4 次提交
- 18 11月, 2014 5 次提交
-
-
由 Sam Judd 提交于
-
由 Sam Judd 提交于
-
由 david 提交于
-
由 david 提交于
Split interface to provide the size seperatly. Change interface on `PreloadModelProvider` so preload items will requested one by one. - introduce new interface `PreloadSizeProvider` - change `PreloadModelProvider` preload items will requested one by one. - adapt Tests - adapt Samples - add two sample implementation for `PreloadSizeProvider` - `FixPreloadSizeProvider` to provide a size with a fixed width and height - `ViewPreloadSizeProvider` provide a size request from a given view using a `OnPreDrawListener`
-
由 david 提交于
In your examples the ListAdapter and the final ListPreloader are strongly connected. Using an Interface will remove this strong connection. Using an interface that an Adapter can implement has the following advantages: 1. the dimensions don´t must be passed to the ListPreloader while the Adapter has the first access to the dimensions of the ImageView 2. you don´t have to pass the items to the ListPreloader, while the Adapter already has the newest set of items (e.g.: CursorAdapter) 3. in most cases the ListAdapter already has an RequestBuilder, so you don´t have to pass them twice 4. you get rid of an extra class (ListPrelaoder) you have to implement
-
- 16 11月, 2014 1 次提交
-
-
由 Sam Judd 提交于
-