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
useSyncExternalStoreを使いまくる
ssssota
6
1k
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
720
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
330
CSC305 Lecture 26
javiergs
PRO
0
140
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
270
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
命名をリントする
chiroruxx
1
390
プロダクトの品質に コミットする / Commit to Product Quality
pekepek
2
770
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
Featured
See All Featured
Six Lessons from altMBA
skipperchong
27
3.5k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Bash Introduction
62gerente
608
210k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Become a Pro
speakerdeck
PRO
26
5k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
GitHub's CSS Performance
jonrohan
1030
460k
BBQ
matthewcrist
85
9.4k
Building Applications with DynamoDB
mza
91
6.1k
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