在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Plastix/Kotlin-Android-Boilerplate开源软件地址(OpenSource Url):https://github.com/Plastix/Kotlin-Android-Boilerplate开源编程语言(OpenSource Language):Kotlin 98.9%开源软件介绍(OpenSource Introduction):Kotlin-Android-BoilerplateAn MVVM Boilerplate Android project written in Kotlin. This sample application fetches the top starred Kotlin repositories from Github and displays them. Inspired by @hitherejoe's Android-Boilerplate project.
ScreenshotsLibrariesTesting LibrariesRequirementsTo compile and run the project you'll need:
BuildingTo build, install and run a debug version, run this from the root of the project:
TestingTo run unit tests on your machine:
To run instrumentation tests on connected devices:
Release BuildsA release build needs to be signed with an Android Keystore. The easiest way to generate a keystore is to open
Android Studio and go to STORE_FILE=/path/to/your.keystore
STORE_PASSWORD=yourkeystorepass
KEY_ALIAS=projectkeyalias
KEY_PASSWORD=keyaliaspassword Running FAQWhy Kotlin?In a nutshell, Kotlin throws all the bad parts of Java out the window and brings lots of great features from Java 8 and functional programming (Yet still compiling to Java 6 bytecode). Kotlin brings much needed language features to Android which is stuck on Java 6. What is with all the interfaces?By default Kotlin classes are closed ( Update: Mockito 2.0 Supports mocking static and final out of the box. Thus, it removes the need for all of these interfaces. How do I use this project?This is a boilerplate project aimed to help bootstrap new Kotlin applications. Feel free to fork this application or use this project generator. Don't forget to change the following things for your application:
Attributions |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论