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.7k
Other Decks in Programming
See All in Programming
リアクティブシステムの変遷から理解するalien-signals / Learning alien-signals from the evolution of reactive systems
yamanoku
3
1.2k
海外のアプリで見かけたかっこいいTransitionを真似てみる
shogotakasaki
1
160
Kamal 2 – Get Out of the Cloud
aleksandrov
1
180
Firebase Dynamic Linksの代替手段を自作する / Create your own Firebase Dynamic Links alternative
kubode
0
230
php-fpm がリクエスト処理する仕組みを追う / Tracing-How-php-fpm-Handles-Requests
shin1x1
5
2.9k
Develop Faster With FrankenPHP
dunglas
2
3.2k
AIコーディングワークフローの試行 〜AIエージェント×ワークフローでの自動化を目指して〜
rkaga
2
3.4k
AI Coding Agent Enablement - エージェントを自走させよう
yukukotani
13
5.8k
[NG India] Event-Based State Management with NgRx SignalStore
markostanimirovic
1
110
custom_lintで始めるチームルール管理
akaboshinit
0
200
5年間継続して開発した自作OSSの記録
bebeji_nappa
0
170
Memory API : Patterns, Performance et Cas d'Utilisation
josepaumard
0
110
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
135
33k
Java REST API Framework Comparison - PWX 2021
mraible
30
8.5k
Faster Mobile Websites
deanohume
306
31k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.7k
Designing Experiences People Love
moore
141
24k
What's in a price? How to price your products and services
michaelherold
245
12k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Building an army of robots
kneath
304
45k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.4k
Statistics for Hackers
jakevdp
798
220k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
It's Worth the Effort
3n
184
28k
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