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
Convert Java file to Kotlin file ⌥⇧⌘K
Search
Panini
May 30, 2018
Technology
1.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Convert Java file to Kotlin file ⌥⇧⌘K
Kotlin一行も書かずKotlin率上げられる方法
Panini
May 30, 2018
More Decks by Panini
See All by Panini
Kotlin 1.5 preview
panini
1
480
Java谷園から逃げ出した話
panini
0
410
Kotlin 1.4-rc
panini
0
250
Fixing Broken Robots - Android Mutation Testing
panini
0
220
Kotlin Multiplatform
panini
2
700
build.gradle.kts
panini
2
2.5k
Kotlin Multi-platform(?)
panini
1
780
Introducing Android P
panini
2
880
Display Cutout
panini
1
680
Other Decks in Technology
See All in Technology
Foxgloveについて 実際にExtensionを開発して公開するまでの話 / About Foxglove: The Story of Developing and Releasing an Extension
ry0_ka
0
290
生成AI×AWS CDK×AWS FISで"振り返れる"ミニGameDayをつくろう
yoshimi0227
1
340
事業価値を⽣み出すSREへ SREが担うべき意思決定の5層
kenta_hi
2
3.9k
あなたの『Site』はどこですか? — xREという考え方
miyamu
0
1.2k
AICoEでAIネイティブ組織への進化
yukiogawa
0
190
大量データに対しても、生成AIを用いてリーズナブルにデータ加工をしたい!Databricksのai_queryについて調べてみた
kamoshika
1
210
CDKで書くECSのベストプラクティス、 改めて考え直す2026 #cdkconf2026
makies
3
760
「最後に責任を取るのはチーム」— 人間のPRレビューを最小化してアップデートしたメンタルモデル
jnishime_dresscode
0
870
AIコード生成×サプライチェーン攻撃 — PHPが直面する“二重の信頼問題
shinyasaita
0
190
SoccerMaster: A Vision Foundation Model for Soccer Understanding
kzykmyzw
0
130
AI時代のYAGNI:「爆速で無駄になった機能」からの学び / 20260720 Naoki Takahashi
shift_evolve
PRO
2
290
AI時代の闇と光
tatsuya1970
0
110
Featured
See All Featured
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
Making Projects Easy
brettharned
120
6.7k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Everyday Curiosity
cassininazir
0
250
エンジニアに許された特別な時間の終わり
watany
108
250k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
180
Optimizing for Happiness
mojombo
378
71k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.3k
The Limits of Empathy - UXLibs8
cassininazir
1
490
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
240
Transcript
Convert Java file to Kotlin file ⌥⇧⌘K Kotlin愛好会 #1
About Me • Matthew Vern / Panini • Twitter: @callipan
Github: panpanini • Android Engineer • Kotlin可愛い
About Me • Matthew Vern / Panini • Twitter: @callipan
Github: panpanini • Android Engineer • Kotlin可愛い •
[email protected]
How I started Kotlin • Android Java & iOS Objective-C
• Swift announced • Android Swift • First Kotlin: M13? (~09/2015) • Clone sample project
How I started Kotlin
How I started Kotlin Problems: • I don’t understand the
language
How I started Kotlin Problems: • I don’t understand the
language • I don’t understand the intention of the code
None
Convert Java file to Kotlin file • Automatic conversion •
About 90% effective • Easier than writing by hand
Demo
Summary • Data classes are nice • Lateinit is useful
• Lazy is useful Kotlin-like writing style: • Pass functions instead of Single Abstract Method Interfaces
Summary • MokuMokuNotes_Android → • Quest based learning tool for
writing a basic Android app in Kotlin