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
DAI語で行こう #as_tips / daigo_as_tips
Search
ゆつぼ
February 21, 2022
Technology
1
470
DAI語で行こう #as_tips / daigo_as_tips
Android Studioの使い方TipsLT会の発表資料です。
https://connpass.com/event/238836/
ゆつぼ
February 21, 2022
Tweet
Share
More Decks by ゆつぼ
See All by ゆつぼ
Glance 3分クッキング
morayl
0
97
CredentialManager移行の落とし穴
morayl
0
890
安全にNavigateしよう
morayl
0
510
Other Decks in Technology
See All in Technology
CI/CDとタスク共有で加速するVibe Coding
tnbe21
0
230
AI技術トレンド勉強会 #1MCPの基礎と実務での応用
nisei_k
1
250
VCpp Link and Library - C++ breaktime 2025 Summer
harukasao
0
220
Definition of Done
kawaguti
PRO
6
460
ローカルLLMでファインチューニング
knishioka
0
130
エンジニア向け技術スタック情報
kauche
0
110
成立するElixirの再束縛(再代入)可という選択
kubell_hr
0
950
~宇宙最速~2025年AWS Summit レポート
satodesu
1
1.4k
Prox Industries株式会社 会社紹介資料
proxindustries
0
210
Agentic DevOps時代の生存戦略
kkamegawa
0
1k
PHPでWebブラウザのレンダリングエンジンを実装する
dip_tech
PRO
0
180
AIの最新技術&テーマをつまんで紹介&フリートークするシリーズ #1 量子機械学習の入門
tkhresk
0
130
Featured
See All Featured
Fireside Chat
paigeccino
37
3.5k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Building an army of robots
kneath
306
45k
Faster Mobile Websites
deanohume
307
31k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Into the Great Unknown - MozCon
thekraken
39
1.9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Documentation Writing (for coders)
carmenintech
71
4.9k
Transcript
DAI語で行こう ゆつぼ(@morayl1)
自己紹介 • ゆつぼ(@morayl1) • Android ◦ リアーキテクチャ(マルチモジュール, Hilt, Flow) ◦
静的解析(Lint, detekt) ◦ Glance • うつぼとうなぎが好き
DAI語? • DAIGO ◦ ロックミュージシャン ◦ ウィッシュ ◦ 北川景子
DAI語? • DAIGO ◦ ロックミュージシャン ◦ ウィッシュ ◦ 北川景子 •
「DKB」= • 「KSK」=
DAI語? • DAIGO ◦ ロックミュージシャン ◦ ウィッシュ ◦ 北川景子 •
「DKB」=大好物(DaiKouButsu) • 「KSK」=結婚してください(KekkonShiteKudasai)
DAI語? • DAIGO ◦ ロックミュージシャン ◦ ウィッシュ ◦ 北川景子 •
「DKB」=大好物(DaiKouButsu) • 「KSK」=結婚してください(KekkonShiteKudasai) AndroidStudioはDAI語を解釈します(語弊がある)
例えば FavoriteNewsListFragmentを開きたい クラス検索ウィンドウで「FNLF」
以上!
色んな場所で • リソース検索 • アクション検索
色んな場所で • strings参照 • id参照
色んな場所で • コード補完 • 変数
応用① 同じDAI語なとき • FavoriteNewsListFragment • FoxNewsListFragment ちょっと具体的に入れる Foxを探す→FoNLF
応用① 後ろが違う場合も同様に • FavoriteNewsListFragment • FavoriteNewsListFactory Fragmentを探す→FNLFr
応用② 一致ファイルが他にない場合は、 どこかをサボっても良い RecentFilesとの組み合わせは強力
応用③ 途中からでも良い • レイアウト属性 • Constraint
まとめ • DAI語はStudioの検索ウィンドウ、補完のあらゆる場所で使える • クラスや定義が増えるほど、普通に探すのは大変なので有用 • 知っているファイル名が増えるほど特定が早くなる • どこまで入れると望みのものが出るのか学習していくと良い