Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Recent tips collection
Search
yoppie
August 15, 2019
Technology
1.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Recent tips collection
yoppie
August 15, 2019
Transcript
12 slides
࠷ۙͷTipsू
yoppie Αͬͽʔ
KotlinͷString trimMargin() w ࠷ॳͱ࠷ޙͷۭനͱۭߦΛআ w cΑΓࠨͷۭനΛআ
requireActivity() 'SBHNFOUͰHFU"DUJWJUZΛݺͿ߹/VMMBCMFͳͷͰɺ BDUJWJUZʹͳΔ
requireActivity() 'SBHNFOUͰSFRVJSF"DUJWJUZΛݺͿͱ/PO/VMMͳͷͰɺ BDUJWJUZ͕SFRVJSF"DUJWJUZ ʹͳΔ
Custom ViewͷAttribute BQQTFU*DPO5FYU!\IPHFOBNF^ BQQTFU#BDL(SPVOE!\IPHFOBNF^
FragmentͷSnackbar 'SBHNFOUΛද͍ࣔͯ͠Δ"DUJWJUZͷ ͷ7JFXΛࢦఆ͖ͩͬͨ͢
HTMLͷtextarea෩ EditText
HTMLͷtextarea෩ EditText <?xml version="1.0" encoding="UTF-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/bg_active" android:state_focused="true"
/> <item android:drawable="@drawable/bg_inactive" /> </selector> <?xml version="1.0" encoding="UTF-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <stroke android:width="1dp" android:color="@color/colorPrimary" /> <corners android:topLeftRadius="2dp" android:topRightRadius="2dp" android:bottomLeftRadius="2dp" android:bottomRightRadius="2dp" /> </shape> <?xml version="1.0" encoding="UTF-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <stroke android:width="1dp" android:color="#CCCCCC" /> <corners android:topLeftRadius="2dp" android:topRightRadius="2dp" android:bottomLeftRadius="2dp" android:bottomRightRadius="2dp" /> </shape> CH@IPHFYNM
HTMLͷtextarea෩ EditText ͖ͬ͞ͷϦιʔε ࠨ্࢝·Γ ϓϨΠεϗϧμʔ ෳߦೖྗ ݟ͑Δߦͷ࠷େ ϓϨΠεϗϧμʔͷ৭
MediatorLiveData ผͷ-JWF%BUBΛࢹͯࣗ͠ͷΛมߋ w FEJU5FYU w ํ%BUB#JOEJOH w JT"CMF4VCNJU w ηʔϒதͷ߹GBMTF
w ͕ۭͷ߹GBMTF
ٕज़ॻయ
More Decks by yoppie
See All by yoppie
AmperとFleetを使ったAndroidアプリ
yoppie
0
1.1k
Androidエンジニアが Flutterでアプリを リリースするまでの苦悩
yoppie
0
560
Navigation Component 実践編
yoppie
1
310
FragmentContainerViewとは
yoppie
0
820
Distribute Android app updates with bitrise
yoppie
0
1.4k
EC2 using Lumen and DynamoDB and SNS
yoppie
1
310
sabotage
yoppie
1
1k
Play with Kotlin
yoppie
1
670
Other Decks in Technology
See All in Technology
「それ、AIでよくない?」- AI時代の技術発信はオワコンなのか?
estie
1
110
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.6k
テスト自動化の先、テスト自律化に向けて
mineo_matsuya
2
200
OSSとミニPCと私
anatofuz
1
100
【Oracle AI SPOTLIGHT ウェビナー】AI時代、狙われるデータと止められない業務をどう守るか?
oracle4engineer
PRO
1
160
Well, that’s weird…
csswizardry
3
250
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
2
260
攻撃と守りは何が変わり、何が変わらないのか~最近の不正アクセスから考える、リスク評価と標準の使いどころ
oidfj
2
370
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
認知の質も文化醸成も。数年取り組んで見えてきた技術広報のKPI設計 / Tech PR KPIs: Lessons on Awareness Quality and Culture After Several Years
bitkey
PRO
0
260
gradle-best-practices 使ってみた
mikanichinose
0
240
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
2
340
Featured
See All Featured
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
630
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
290
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Claude Code のすすめ
schroneko
67
230k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
590
Technical Leadership for Architectural Decision Making
baasie
4
660
Deep Space Network (abreviated)
tonyrice
0
430
YesSQL, Process and Tooling at Scale
rocio
174
15k
How to Talk to Developers About Accessibility
jct
2
630
How to Think Like a Performance Engineer
csswizardry
28
3k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
410
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k