• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Yelp/kotlin-android-workshop: A Kotlin Workshop for engineers familiar with Java ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

Yelp/kotlin-android-workshop

开源软件地址(OpenSource Url):

https://github.com/Yelp/kotlin-android-workshop

开源编程语言(OpenSource Language):

Kotlin 100.0%

开源软件介绍(OpenSource Introduction):

This repository hosts the coding exercises from a Kotlin Workshop for Android. Basic knowledge of both Android and Java is assumed for anyone participating in this workshop. No prior knowledge of Kotlin is required; the linked presentations, videos, and workbook start from very basic syntax in Kotlin and build from there.

The linked presentations and videos are from a recording of a live event held internally at Yelp on May 24th, 2018, and may already be out of date. If a new event is held, this repository and its recordings may be updated. Otherwise, any updates are rather unlikely.

Format of this Repository

There are a total of 7 apps in this repository. If you follow along with the workshop, you can start from the folder app and build your Android app by following the instructions in the video and workbook. If you struggle to complete an exercise, you can simply look in the folder with the corresponding number. For example, app4 contains the Android app that is the result of completing exercises 1-4. Alternatively, if you’re interested in completing, for example, only sessions 3 and 6, you can start from app2 to complete the exercises in session 3, and then start from app5 to complete the exercises in session 6.

Format of the Workshop

The workshop was intended as a one-day event. It was split into sessions of about 1 hour each. Each session roughly consisted of a 20-minute presentation, followed by a 20-minute live coding session, and finally, a 20-minute attendee coding session on a topic relevant to the presentation. Presenters were available during the coding sessions to answer questions or troubleshoot any issues. By the end of the day, we built a simple app that displayed a list of businesses using Yelp's public API.

Here’s a workbook with more detailed information on the topic, and below is a list of all sessions and a brief summary of their content.

Syllabus

  1. Basic Syntax and Types - how to create classes, interfaces, and functions. At the end you should be able to write a very simple Kotlin class (presentation, video)

  2. Constructors and Control Flow - difference between statements and expressions, conditional statements and loops, jumps and qualifiers, primary and secondary constructors, and execution flow when constructing instances (presentation, video)

  3. Functions - operators, inlining, a little bit about generics, named parameters, lambdas and closures, obtaining references to functions and passing them to other functions, and higher-order functions (presentation, video)

  4. Properties and Nullability - Java interop, synthetic and delegated properties, custom setters and getters, lateinit, ​nullable and non-null properties, and optional invocation (presentation, video)

  5. Useful Kotlin Standard Functions - introduction to use, let, apply, also, with, isEmpty, orEmpty, and more, as well as how and when to use them (presentation, video)

  6. Kotlin's Collections APIs - mapping, transforming, filtering, aggregating, and associating anything you can iterate over like a boss (presentation, video)

  7. How to Build DSLs - what they’re useful for and how to build them (presentation, video)

Licenses

This Kotlin Workshop exercise repository is licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

The Kotlin Workshop presentations, videos and other written materials are licensed under the Creative Commons, Attribute, No Derivatives, Version 3.0 US: https://creativecommons.org/licenses/by-nd/3.0/us/legalcode




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap