Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Tips for Migrating to Picasso2.71828 #potatotips
Search
chiiia12
July 26, 2018
Programming
0
1.8k
Tips for Migrating to Picasso2.71828 #potatotips
potatotips #53
https://potatotips.connpass.com/event/92905/
chiiia12
July 26, 2018
Tweet
Share
More Decks by chiiia12
See All by chiiia12
Baby steps to improve architecture in Study Sapuri Android
chiiia12
0
1.6k
Introduction to Calabash - Improve your app architecture -
chiiia12
0
1.4k
新卒2年目が鍛えられたコードレビュー道場 #jjug_ccc #ccc_l3
chiiia12
20
20k
初めてのOSS初めてのNode.js Contribute #tng25
chiiia12
6
9.6k
Other Decks in Programming
See All in Programming
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
8
2.7k
CNCF Project の作者が考えている OSS の運営
utam0k
6
710
TokyoR116_BeginnersSession1_環境構築
kotatyamtema
0
110
Software Architecture
hschwentner
6
2.1k
Conform を推す - Advocating for Conform
mizoguchicoji
3
690
プログラミング言語学習のススメ / why-do-i-learn-programming-language
yashi8484
0
130
CI改善もDatadogとともに
taumu
0
110
SwiftUIで単方向アーキテクチャを導入して得られた成果
takuyaosawa
0
270
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
120
Writing documentation can be fun with plugin system
okuramasafumi
0
120
Immutable ActiveRecord
megane42
0
140
Unity Android XR入門
sakutama_11
0
150
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
A designer walks into a library…
pauljervisheath
205
24k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
960
Art, The Web, and Tiny UX
lynnandtonic
298
20k
The Invisible Side of Design
smashingmag
299
50k
How to train your dragon (web standard)
notwaldorf
91
5.8k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Typedesign – Prime Four
hannesfritz
40
2.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Transcript
Tips for Migrating to Picasso2.71828 @chiiia12 potatotips#53 @Money Forward
Agenda w 1JDBTTPʹ͍ͭͯ w 1JDBTTPͰͷ w 1JDBTTPͷมߋ w ϋϚͬͨ͜ͱ
About Picasso w *NBHFEPXOMPBEJOHBOEDBDIJOHMJCSBSZ w W ͔Β͠Β͘Ξοϓσʔτͳ͔ͬͨ w W͕ग़͍ͯΔ͕·ͩ4/"14)05
࣌ w 4/"14)05ͷؒ͑ΔW͕ग़͍ͯΔ w ͨͩ͠ܥͱͷޓੑͳ͍
Problem for Picasso 2.5.2 w Ұ෦ͷͰը૾͕දࣔ͞Εͳ͍ w SFTJ[F Λ༻ͨ࣌͠ͷΈͷը૾ͷಡΈࠐΈ w
ඞͣPO&SSPS ͱͯ͠ฦͬͯ͘Δ
Problem for Picasso 2.5.2 https://github.com/square/picasso/issues/1514
According to issue https://github.com/square/picasso/issues/1514 w ݪҼॻ͔Ε͍ͯͳ͍ʜ w 4/"14)05Ͱࢼͯ͠ʂ
Any solution? w Ҏ֎Ͱൃੜ͠͏Δͱͷ͜ͱͰ͞Ͷ w 7FSTJPO͋͛ΔҎ֎ʹྑ͍ղܾࡦ͕ͳͦ͞͏ w W4/"14)05ͳͷͰWʹ͋͛ͯࢼͯ͠ΈΔ
Changes for 2.71828 Picasso.with(getContext()) .load(url) .into(imageView) Picasso.get() .load(url) .into(imageView) 2.5.2
2.71828
Changes for 2.71826 Picasso.with(getContext()) .load(url) .into(imageView,new Callback(){ @Override public void
onSuccess() { } @Override public void onError() { } }) 2.5.2
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
\ Build Succeed!! /
Some problem remain… w ͍͔ͭ͘ը૾͕දࣔͰ͖͍ͯͳ͍͜ͱʹؾͮ͘ʜ w PO4VDDFTT PO&SSPS ݺΕͳ͍
Compatibility with Okhttp3Downloader w 0LIUUQ%PXOMPBEFSΛ͍ͬͯΔͱ͜ΖͰ w JTTVFʹΑΔͱʮ͜ͷϥΠϒϥϦඞཁͳ͘ͳΔʯͷΈ w 0L)UUQ%PXOMPBEFS͕ෆཁʹͳΔ13͋ͬͨ w
͕ɺͦͷมߋWʹೖͬͯͳ͍ https://github.com/JakeWharton/picasso2-okhttp3-downloader/issues/29
Compatibility with Okhttp3Downloader w 0LIUUQ%PXOMPBEFSෳ͋Δ w +BLF8IBSUPOQJDBTTPPLIUUQEPXOMPBEFS w 1JDBTTPͷதʹ͋Δͷ w
+BLFͷํͷ0LIUUQ%PXOMPBEFSΛ͍ͬͯͨ https://github.com/JakeWharton/picasso2-okhttp3-downloader/issues/29
Result w 0LIUUQ%PXOMPBEFSΛ1JDBTTPͷͷʹมߋͯ͠ղܾʂ w ຊདྷͷղܾʂΊͰͨ͠ΊͰͨ͠
Summary w 1JDBTTPͰͷ w ͰϋϚͬͨ͜ͱ w ใͳͯ͘ਏ͔ͬͨ w ಉ͡Α͏ͳݱʹૺ۰ͨ͠ਓͷࢀߟʹͳΔͱخ͍͠Ͱ͢ w
ϒϩάʹॻ͍ͯ·͢ IUUQDIJJJBIBUFOBCMPHKQFOUSZ
Tips for Migrating to Picasso2.71828 @chiiia12 potatotips#53 @Money Forward