Save 37% off PRO during our Black Friday Sale! »

Tips for Migrating to Picasso2.71828 #potatotips

Tips for Migrating to Picasso2.71828 #potatotips

04ab1563ccc36f66ebea3b2a0e3488b9?s=128

chiiia12

July 26, 2018
Tweet

Transcript

  1. Tips for Migrating to Picasso2.71828 @chiiia12 potatotips#53 @Money Forward

  2. Agenda w 1JDBTTPʹ͍ͭͯ w 1JDBTTPͰͷ໰୊ w 1JDBTTPͷมߋ w ϋϚͬͨ͜ͱ

  3. About Picasso w *NBHFEPXOMPBEJOHBOEDBDIJOHMJCSBSZ w W  ͔Β͠͹Β͘Ξοϓσʔτͳ͔ͬͨ w W͕ग़͍ͯΔ͕·ͩ4/"14)05

    ࣌఺  w 4/"14)05ͷؒ࢖͑ΔW͕ग़͍ͯΔ w ͨͩ͠ܥͱͷޓ׵ੑ͸ͳ͍
  4. Problem for Picasso 2.5.2 w Ұ෦ͷ୺຤Ͱը૾͕දࣔ͞Εͳ͍໰୊ w SFTJ[F Λ࢖༻ͨ࣌͠ͷΈ୺຤಺ͷը૾ͷಡΈࠐΈ w

    ඞͣPO&SSPS ͱͯ͠ฦͬͯ͘Δ
  5. Problem for Picasso 2.5.2 https://github.com/square/picasso/issues/1514

  6. According to issue https://github.com/square/picasso/issues/1514 w ݪҼ͸ॻ͔Ε͍ͯͳ͍ʜ w 4/"14)05Ͱࢼͯ͠ʂ

  7. Any solution? w Ҏ֎Ͱ΋ൃੜ͠͏Δͱͷ͜ͱͰ௚͞Ͷ͹ w 7FSTJPO͋͛ΔҎ֎ʹྑ͍ղܾࡦ͕ͳͦ͞͏ w W͸4/"14)05ͳͷͰWʹ͋͛ͯࢼͯ͠ΈΔ

  8. Changes for 2.71828 Picasso.with(getContext()) .load(url) .into(imageView) Picasso.get() .load(url) .into(imageView) 2.5.2

    2.71828
  9. Changes for 2.71826 Picasso.with(getContext()) .load(url) .into(imageView,new Callback(){ @Override public void

    onSuccess() { } @Override public void onError() { } }) 2.5.2
  10. Changes for 2.71826 Picasso.with(getContext()) .load(url) .into(imageView,new Callback(){ @Override public void

    onSuccess() { } @Override public void onError(Exception e) { } }) 2.71828
  11. \ Build Succeed!! /

  12. Some problem remain… w ͍͔ͭ͘ը૾͕දࣔͰ͖͍ͯͳ͍͜ͱʹؾͮ͘ʜ w PO4VDDFTT ΋PO&SSPS ΋ݺ͹Εͳ͍

  13. Compatibility with Okhttp3Downloader w 0LIUUQ%PXOMPBEFSΛ࢖͍ͬͯΔͱ͜ΖͰ໰୊ w JTTVFʹΑΔͱʮ͜ͷϥΠϒϥϦඞཁͳ͘ͳΔʯͷΈ w 0L)UUQ%PXOMPBEFS͕ෆཁʹͳΔ13͸͋ͬͨ w

    ͕ɺͦͷมߋWʹ͸ೖͬͯͳ͍ https://github.com/JakeWharton/picasso2-okhttp3-downloader/issues/29
  14. Compatibility with Okhttp3Downloader w 0LIUUQ%PXOMPBEFS͸ෳ਺͋Δ w +BLF8IBSUPOQJDBTTPPLIUUQEPXOMPBEFS w 1JDBTTPͷதʹ͋Δ΋ͷ w

    +BLFͷํͷ0LIUUQ%PXOMPBEFSΛ࢖͍ͬͯͨ https://github.com/JakeWharton/picasso2-okhttp3-downloader/issues/29
  15. Result w 0LIUUQ%PXOMPBEFSΛ1JDBTTPͷ΋ͷʹมߋͯ͠ղܾʂ w ຊདྷͷ໰୊΋ղܾʂΊͰͨ͠ΊͰͨ͠

  16. Summary w 1JDBTTPͰͷ໰୊ w ͰϋϚͬͨ͜ͱ w ৘ใͳͯ͘ਏ͔ͬͨ w ಉ͡Α͏ͳݱ৅ʹૺ۰ͨ͠ਓͷࢀߟʹͳΔͱخ͍͠Ͱ͢ w

    ϒϩάʹ΋ॻ͍ͯ·͢ IUUQDIJJJBIBUFOBCMPHKQFOUSZ
  17. Tips for Migrating to Picasso2.71828 @chiiia12 potatotips#53 @Money Forward