Skip to content

Latest commit

 

History

History
119 lines (76 loc) · 6.26 KB

README-en.md

File metadata and controls

119 lines (76 loc) · 6.26 KB

KotlinMvp

Build Status CircleCI API Codacy Badge License

这里写图片描述

GitHub:https://github.com/git-xuhao/KotlinMvp

(Open source is not easy, if you like, I hope to give a Star or Fork, thank you!)

"KotlinMvp" is a short video app that mimics the previous version of Eye-open Eyepetizer and adds your own ideas, a featured video daily that gives you an eye-opener. This project is written in Kotlin language, combined with MVP + RxJava2 + Retrofit2 + Glide and other architecture design, learning Kotlin use spare time to develop a small project, the code clearly structured detailed annotations, if you have any questions and suggestions please raise the issue or contact

Foreword

Kotlin some time ago learned some grammar, and then wrote this project to familiarize yourself with the official language of Android, overall, I feel more cool, compared to Java source code lines have decreased, the number of methods has also been reduced.

The Kotlin team provided a set of tools for Android development that go beyond standard language features:

  • Kotlin Android extension Is a compiler extension that lets you get rid of the findViewById () call in your code and replace it with a synthetic compiler-generated property.
  • Anko Is a library of Kotlin-friendly wrappers around the Android API, and a DSL that can replace .xml files with Kotlin code.

Project screenshot

  • screenshot

  • gif

Download experience

Click Or scan the two-dimensional code below

(The following two-dimensional code, the daily limit of 100 times, such as the ceiling, or clone source!✧(≖ ◡ ≖✿)) 图片名称

Technical points

The major third-party open source frameworks are:

Module Description:

  • Daily selection: The home page is implemented with a drop-down refresh + RecyclerView. Banner displays daily featured videos, listens for RecyclerView's slide events, and implements TitleBar's hidden display. The bottom menu uses gaussian blurring and semitransparenting to refresh the entire APP style.
  • Find: Including the attention and classification module, the focus is on the recommended author upload video set, including fashion, sports, creative, advertising, music, travel, life, records, appetizers, games, Meng pets, animation, variety, funny, etc. are free to choose Want to see the type of video.
  • Popular: Top Charts include weekly, monthly, top ranked video listings.
  • Search: According to the keyword search list you find the video of interest.
  • Mine: Personal homepage related introduction.
  • Watch History: View previously seen videos, sorted by time.

Update log

Click to view the latest record

v1.1

  • Remove useless code, add watch record function.

v1.0

  • The initial version, the main function has been completed.

About Me

Thanks

  • Thanks for all the great open source projects.
  • Eyepetizer :The project was initially saw only started to do, learned a lot, writing my own code style.

Statement

Project API are from the open-eye video, purely for learning to communicate, shall not be used for commercial purposes!

LICENSE

Copyright 2017 Xiho

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

    http://www.apache.org/licenses/LICENSE-2.0

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.