• R4_828415
  • 136KB
  • zip
  • 0
  • VIP专享
  • 0
  • 2022-06-15 07:57
模板库 Jetpack Compose 模板存储库。 入门 按下Github中的“使用此模板”按钮来复制此存储库。 克隆您的存储库,然后在最新的打开它。 提交要求 按照项目网站上的挑战说明进行操作: 所有UI均应使用Jetpack Compose编写 Github Actions工作流程应该成功完成 在文件夹中包括两个提交的屏幕截图。 名称应为screenshot_1.png和screenshot_2.png。 在文件夹中包括提交的屏幕记录。 名称应为video.mp4 更换的内容与内容并填写模板。 代码格式 CI使用来检查您的代码格式是否正确以及是否包含正确的许可证。 在内部,Spotless使用来检查代码的格式。 要使用Android Studio正确设置ktlint,请按照。 在提交代码之前,请运行./gradlew app:spotlessApply以自动设置代码格式。
# Template repository Template repository for the Jetpack Compose [#AndroidDevChallenge]( ## Getting started Copy this repository by pressing the "Use this template" button in Github. Clone your repository and open it in the latest [Android Studio (Canary build)]( ## Submission requirements - Follow the challenge description on the project website: []( - All UI should be written using Jetpack Compose - The Github Actions workflow should complete successfully - Include two screenshots of your submission in the [results](results) folder. The names should be screenshot_1.png and screenshot_2.png. - Include a screen record of your submission in the [results](results) folder. The name should be video.mp4 - Replace the contents of []( with the contents of []( and fill out the template. ## Code formatting The CI uses [Spotless]( to check if your code is formatted correctly and contains the right licenses. Internally, Spotless uses [ktlint]( to check the formatting of your code. To set up ktlint correctly with Android Studio, follow one of the [listed setup options]( Before committing your code, run `./gradlew app:spotlessApply` to automatically format your code. ## License ``` Copyright 2020 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ```