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
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.
- screenshot
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!✧(≖ ◡ ≖✿))
The major third-party open source frameworks are:
- RxJava
- RxAndroid
- Retrofit
- Glide
- Logger
- FlycoTabLayout
- Flexbox-layout
- RealtimeBlurView
- SmartRefreshLayout
- BGABanner-Android
- GSYVideoPlayer
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.
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.
- Email: igeekho@gmail.com
- Home: https://xuhaoblog.com
- CSDN:http://blog.csdn.net/u011974987
- 简书: http://www.jianshu.com/u/25bc3e1e7595
- 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.
Project API are from the open-eye video, purely for learning to communicate, shall not be used for commercial purposes!
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.