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
Serverless renderování Webových komponent
rarous
PRO
0
140
Nuxt UI Pro、NuxtHub、Nuxt Scripts、Nuxtエコシステムをふんだんに利用して開発するコーポレートサイト@Vue Fes Japan 2024
shingangan
3
540
LangChain & LangServeでAPIを爆速作成
kijitorabuti
2
360
CSC509 Lecture 07
javiergs
PRO
0
140
実践サーバーレスパフォーマンスチューニング ~その実力に迫る~ / Practical Serverless Performance Tuning ~A Close Look at its Power~
seike460
PRO
2
230
perl for shell, awk and sed programmers
mackee
2
1k
ACES Meet におけるリリース作業改善の取り組み
fukucheee
0
150
現場から考えるソフトウェアエンジニアリングの価値と実験
nomuson
1
140
データマイグレーションの成功戦略~サービスリニューアルで失敗しないための実践ガイド~
tkzwtks
8
850
Новый уровень ML-персонализации Lamoda: Как мы усилили ее в каталоге и перенесли на другие продукты
lamodatech
0
410
Integrating AI in Your Enterprise Java Applications
ivargrimstad
0
870
Scan with Decoupled Look-back and Onesweep Radix Sort
shocker_0x15
0
150
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
363
19k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
How GitHub (no longer) Works
holman
311
140k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Building Adaptive Systems
keathley
38
2.2k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
225
22k
Teambox: Starting and Learning
jrom
132
8.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
404
65k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
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