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.5k
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
最新TCAキャッチアップ
0si43
0
140
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
330
CSC509 Lecture 12
javiergs
PRO
0
160
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
Quine, Polyglot, 良いコード
qnighy
4
640
Arm移行タイムアタック
qnighy
0
320
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
290
Remix on Hono on Cloudflare Workers
yusukebe
1
290
イベント駆動で成長して委員会
happymana
1
320
cmp.Or に感動した
otakakot
2
140
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
Amazon Bedrock Agentsを用いてアプリ開発してみた!
har1101
0
330
Featured
See All Featured
What's new in Ruby 2.0
geeforr
343
31k
Agile that works and the tools we love
rasmusluckow
327
21k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Practical Orchestrator
shlominoach
186
10k
Typedesign – Prime Four
hannesfritz
40
2.4k
Designing for Performance
lara
604
68k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Being A Developer After 40
akosma
86
590k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
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