- 18 11月, 2014 4 次提交
-
-
由 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 4 次提交
-
-
由 Sam Judd 提交于
-
由 Sam Judd 提交于
-
由 Sam Judd 提交于
-
由 Pavlos-Petros Tournaris 提交于
Ability to load a bitmap into an ImageView of a Widget using RemoteViews. Example of usage on the following gist https://gist.github.com/pavlospt/00242d5102ac8f76e169
-
- 15 11月, 2014 1 次提交
-
-
由 Sam Judd 提交于
-
- 12 11月, 2014 4 次提交
- 11 11月, 2014 1 次提交
-
-
由 Sam Judd 提交于
-
- 10 11月, 2014 1 次提交
-
-
由 Robert Papp 提交于
-
- 08 11月, 2014 5 次提交
- 07 11月, 2014 2 次提交
- 06 11月, 2014 2 次提交
- 05 11月, 2014 3 次提交
-
-
由 Sam Judd 提交于
-
由 Sam Judd 提交于
resetStaticState was removed here: https://github.com/robolectric/robolectric/pull/1364
-
由 Sam Judd 提交于
-
- 04 11月, 2014 5 次提交
- 03 11月, 2014 8 次提交