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
Amazon EFS のマルウェアスキャンをClamAV で自前実装したら苦労した話
mtmtfactory01
0
130
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
480
Fukurou Labo_Engineer_Deck
fukuroulabo
0
110
品質を積み上げられるようにする
goyoki
4
1.2k
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
140
対話 AI プラットフォーム「アイブリー」で実践する自然言語処理と事業開発
ivry_presentationmaterials
0
120
Claude Certified Developer – Professional 試験対策
shinoisa
0
280
Ignite 2026 Security
babaneko
0
110
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
AIエージェントのアーキテクチャ設計
nsatoh
0
590
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
650
「それ、AIでよくない?」- AI時代の技術発信はオワコンなのか?
estie
1
110
Featured
See All Featured
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
180
ラッコキーワード サービス紹介資料
rakko
5
6.1M
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
2k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
480
Odyssey Design
rkendrick25
PRO
3
980
Utilizing Notion as your number one productivity tool
mfonobong
4
710
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
61k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
440
Between Models and Reality
mayunak
4
610
Exploring anti-patterns in Rails
aemeredith
4
590
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k