ADM-201 dump PMP dumps pdf SSCP exam materials CBAP exam sample questions

Kotlin – 安卓的新语言 – 译学馆
未登录,请登录后再发表信息
最新评论 (0)
播放视频

Kotlin - 安卓的新语言

Getting Started with Kotlin

SPEAKER: We have never added a new programming language to Android to Android.
我们从未在安卓上添加一种新的编程语言
And today, we’re making Kotlin an officially supported language in Android.
今天 我们把Kotlin作为安卓上官方支持的语言
[APPLAUSE]
[鼓掌]
[MUSIC PLAYING]
[音乐]
WOJTEK KALICINSKI: At Google IO, we announced that we’re adding
Kotlin as an officially supported language for Android.
在谷歌开发者大会上 我们宣布增加Kotlin作为一种安卓官方支持的语言
Kotlin is a mature and fun language that many developers are already
embracing for their production apps.
Kotlin是一种成熟和有趣的语言 许多开发者已经沉浸于应用在app中
For those of you who want to try Kotlin for the first time,
对于你们当中想第一次尝试Kotlin
we’re now bundling the Kotlin plug-in with Android Studio 3.0.
我们现在把Kotlin插件集成在Android Studio 3.0当中
When creating a new project, you can now choose to enable Kotlin
support,
当创建一个新项目时 你可以选择是否支持Kotlin
and any template will be generated in that language for you.
如果你选择使用这种语言 那么任何模板都将用这种语言生成
Because Kotlin plays well with Java,
因为Kotlin与Java相互兼容
you can also start adding Kotlin to your existing projects.
你也可以开始添加Kotlin到你现有的项目当中
Try converting a single Java file to Kotlin using this Android
Studio command.
尝试用Android Studio把单独的Java文件转换成Kotlin指令
Or add a new code template and select Kotlin as the source language.
或者添加一种新的代码模板和选择Kotlin作为源语言
When taking first steps with programming in Kotlin,
当迈出第一步使用Kotlin编程时
you might also find it useful to migrate code snippets from Java by simply copying and
pasting them to Kotlin files.
你可能会发现从Java上通过复制粘贴把代码片段转移到Kotlin文件是非常有用的
And Android Studio will convert to code for you on the fly.
Android Studio将会为你快速地转换代码
Refer to our blog post on Android Developers for a quick tour of
the Kotlin language.
可参考我们博客上关于安卓开发者快速应用Kotlin语言的指导
You’ll also find links to the full reference pages there.
你也可以在那找到全部参考页的链接
We’re just starting with Kotlin as a support language for Android,
我们只是刚开始用Kotlin作为安卓支持语言
so expect to see more documentation, samples, and Android specific guidance in the future.
所以在将来你可以期望看到更多的相关文件 例子 和安卓详细的指导
And in the meantime, I hope you have fun exploring Kotlin.
同时 我希望你们会对开发Kotlin有兴趣
[MUSIC PLAYING]
[音乐]

发表评论

译制信息
视频概述

本文介绍了安卓系统上一种新的官方支持语言-Kotlin,这种语音在Java上运行良好,并且可通过模板生成,希望更多的开发者对开发这种语言感兴趣

听录译者

收集自网络

翻译译者

Becca

审核员

O

视频来源

https://www.youtube.com/watch?v=czKo-jPVweg

相关推荐