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
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
Transcript
12 slides
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
More Decks by Panini
See All by Panini
Kotlin 1.5 preview
panini
1
500
Java谷園から逃げ出した話
panini
0
420
Kotlin 1.4-rc
panini
0
260
Fixing Broken Robots - Android Mutation Testing
panini
0
240
Kotlin Multiplatform
panini
2
730
build.gradle.kts
panini
2
2.5k
Kotlin Multi-platform(?)
panini
1
800
Introducing Android P
panini
2
890
Display Cutout
panini
1
720
Other Decks in Technology
See All in Technology
Datadog の権限統制 〜Org 統合に向けて調べた注意点 / JDDUG-Meetup_24
visional_engineering_and_design
1
120
Context != Context: One window, many lifecycles (AI Native DevCon, Nov 2026)
birgitta410
0
130
長い仕事を任せる (Workflows、クラウドセッション、Kiro Web) | 目指せ Kiro マスター 10
inariku
PRO
3
190
これからのデータエンジニアの役割について考える / Rethinking the Role of Data Engineers in the AI Era
okiyuki99
0
470
An Introduction to Context Ontology Accelerator (teaching AI agents what your data means)
inariku
PRO
1
240
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
1
190
Where Should Platform Complexity Live? Lessons from a Cross-Team PR Preview Platform
taiki45
0
110
Active Directory と Entra ID のむむむな関係
murachiakira
PRO
4
1.8k
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
3
670
Shared Signals Framework 仕様解説
oidfj
0
430
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
0
190
JAWS_FESTA2026_オンプレ-AWS間プロキシサーバの移行_性能_障害対応で得た実践ノウハウ_高島一晃.pdf
tkazuaki0820
1
120
Featured
See All Featured
Optimizing for Happiness
mojombo
378
71k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
520
Raft: Consensus for Rubyists
vanstee
143
7.9k
Building Applications with DynamoDB
mza
96
7.3k
Accessibility Awareness
sabderemane
1
300
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Why Our Code Smells
bkeepers
PRO
340
58k
Chasing Engaging Ingredients in Design
codingconduct
0
390
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
400
How GitHub (no longer) Works
holman
316
150k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
530