1. 21 11月, 2014 3 次提交
  2. 20 11月, 2014 4 次提交
  3. 18 11月, 2014 5 次提交
    • S
      Only set size once in ViewPreloadSizeProvider. · 28a34b61
      Sam Judd 提交于
      28a34b61
    • S
      b095b9c8
    • D
    • D
      Split interface to provide the size seperatly. Change interface on... · 26651f07
      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`
      26651f07
    • D
      Use Interface instead of abstract ListPreloader · 636df990
      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
      636df990
  4. 16 11月, 2014 4 次提交
  5. 15 11月, 2014 1 次提交
  6. 12 11月, 2014 4 次提交
  7. 11 11月, 2014 1 次提交
  8. 10 11月, 2014 1 次提交
  9. 08 11月, 2014 5 次提交
  10. 07 11月, 2014 2 次提交
  11. 06 11月, 2014 2 次提交
  12. 05 11月, 2014 3 次提交
  13. 04 11月, 2014 5 次提交