Skip to content

Commit 3492e3c

Browse files
committed
1、 新增图片、修改readme
2、 统一入口函数处理
1 parent 2c0beb2 commit 3492e3c

36 files changed

+49
-3798
lines changed

KotlinLearn.iml

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<module type="JAVA_MODULE" version="4">
3-
<component name="NewModuleRootManager" inherit-compiler-output="true">
4-
<exclude-output />
2+
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3+
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5">
4+
<output url="file://$MODULE_DIR$/target/classes" />
5+
<output-test url="file://$MODULE_DIR$/target/test-classes" />
56
<content url="file://$MODULE_DIR$">
6-
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
7+
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8+
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
9+
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
10+
<excludeFolder url="file://$MODULE_DIR$/target" />
711
</content>
812
<orderEntry type="inheritedJdk" />
913
<orderEntry type="sourceFolder" forTests="false" />
1014
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
15+
<orderEntry type="library" name="Maven: org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.1" level="project" />
16+
<orderEntry type="library" name="Maven: org.jetbrains.kotlin:kotlin-stdlib:1.3.50" level="project" />
17+
<orderEntry type="library" name="Maven: org.jetbrains:annotations:13.0" level="project" />
18+
<orderEntry type="library" name="Maven: org.jetbrains.kotlin:kotlin-stdlib-common:1.3.50" level="project" />
1119
</component>
1220
</module>

README.md

+13-8
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,27 @@
33

44
这是一个关于`Kotlin`教程的项目,学好`Koltin`从这里开始,当你看完这个系列的所有文章时,我相信你是绝对有收获的。
55

6-
![](http://upload-images.jianshu.io/upload_images/6304125-edffe5f4c73c7157.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
6+
<p align = "center">
7+
8+
![](img/ic_kotlin.png)
9+
10+
</p>
711

812
## 写这个系列教程的初衷
913

1014
本人作为一个`Android`开发者,在`Kotlin`语言正式出现在人们面前的时候,或多或少的接触到了这门语言,并
11-
自学了一部分,当`谷歌`宣布`Kotlin`成为`Android`开发的标准语言,才有打算用心的去学习这门语言,并能用于实际的开
12-
发当中。在我学习的过程中,学的越深入越被`Kotlin`简洁的代码,良好的代码阅读性深深的折服。但是在官方的文档中,写
13-
的很不想细,有些代码甚至看不懂其实现,基础性的东西几乎不存在。如果你没有一定的编程经验我相信你也是看不懂的。
15+
自学了一部分,当`Google`宣布`Kotlin`成为`Android`开发的标准语言时,才有打算用心的去学习这门语言,并能用于实际的开
16+
发当中。在我学习的过程中,学的越深入越被`Kotlin`的简洁以及良好的阅读性深深的折服。但是在官方的文档中,写
17+
的实列不是很详细,有些代码甚至看不懂其实现,基础性的东西几乎不存在。如果你没有一定的编程经验我相信你也是看不懂的。
1418

1519
但是请你不要放弃对这门语言的学习,我也是一点一点学习过来的,你在学习过程中遇到的坑,可能我也遇到过。我非常欢迎各位
16-
一起学习一起探索。共同的进步
20+
一起学习一起探索。让我们共同进步
1721

18-
所以,我会根据自身的编程经验、技术。写完整个`Kotlin`系列文章。整个教程由浅如深,即使你没有编程经验你也能看懂,教程中会
22+
所以,我会根据自身的编程经验去写完整个`Kotlin`系列文章。整个教程由浅入深,即使你没有编程经验你也能看懂,教程中会
1923
介绍`Koltin`的特性,以及其和`Java`的差异性。让更多的朋友爱上这门语言。
2024

2125
## 开撸
22-
话不多说,让我们忘记生活的烦恼、放下沉重的枷锁、沉浸在代码的世界中,打开音乐的分贝,迈开脚步开始学习`Kotlin`大法吧。
26+
话不多说,让我们忘记生活的烦恼、放下沉重的枷锁、沉浸在代码的世界中,放大音乐分贝,迈开脚步开始学习`Kotlin`大法吧。
2327

2428
## 学习架构
2529
我把这个教程命名为:从无到有系列,这个系列目前还没写完,故而下面的链接有一些是没有实际内容的,我会在后面持续的补齐,这里只是实现了整个教程的大纲。
@@ -146,7 +150,8 @@
146150
<h4 align="center">QQ群号:497071402
147151
<br/>
148152

149-
![](https://user-gold-cdn.xitu.io/2017/12/30/160a5e3194215cdd?w=200&h=274&f=jpeg&s=68508)
153+
![](img/ic_qq.png)
154+
150155
</p>
151156

152157

img/ic_kotlin.png

46.3 KB
Loading

img/ic_qq.png

73.5 KB
Loading

pom.xml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>groupId</groupId>
8+
<artifactId>KotlinLearn</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
11+
<properties>
12+
<kotlin.version>1.3.50</kotlin.version>
13+
</properties>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>org.jetbrains.kotlinx</groupId>
18+
<artifactId>kotlinx-coroutines-core</artifactId>
19+
<version>1.3.1</version>
20+
</dependency>
21+
</dependencies>
22+
23+
24+
</project>

src/com/kotlin/leran/TestApplication.kt

-107
This file was deleted.

src/com/kotlin/leran/basis/Constant.kt

-39
This file was deleted.

0 commit comments

Comments
 (0)