Skip to content
프로젝트

소개

MVVM 아키텍처 패턴과 Android Architecture Components를 사용합니다. ConstraintLayout을 활용한 YouTube 플레이어 애니메이션을 보여 주는 샘플 앱입니다.

디자인 및 미디어

이 수치를 측정하는 방법

What you can do

  • Smooth Draggable Animation
  • Customizable Video Player
  • Dependency Injection (Dagger 2)
  • MVVM Architecture pattern using Android Architecture Components

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Youtube UI/UX Animation

License API Uplabs AndroidWeekly AwesomeAndroid Mindorks Buy Me A Coffee

This is a sample app demonstrating Youtube UX/UI animation using ConstraintLayout.It implements the Keyframe Animation feature in ConstrainLayout.This sample app is built on Android Architecture Components

Proudly :muscle: made in Kotlin

Features

  • Smooth Draggable Animation
  • Customizable Video Player
  • Dependency Injection (Dagger 2)
  • MVVM Architecture pattern using Android Architecture Components

How does it looks

This video demonstarte the app animation.

Direct Video Link

The Concept - Animation

Below image shows how the layout has been desgin using guidelines and all the Fragments are constraints to this guidelines. When user drag the video fragment we starts scaling up/down the guideline values which scale the fragments automatically that's the advantage of using constraint layout with guidelines

Customization

Fragment FrameLayout Usage
HomeFragment , TradeFragment , LibraryFragment and UserActivityFragment frmHomeContainer This layout hold Fragments added from BottomNavigation bar
VideoPlayerFragment frmVideoContainer This will have the video player
VideoDetailsFragment frmDetailsContainer Contains Video Details Layout Desgin
BaseBottomNavigationView bottomNavigation Bottom Navigation bar

Architecture

The app uses ViewModel to abstract the data from UI and MovieRepository as single source of truth for data. MovieRepository first fetch the data from database if exist than display data to the user and at the same time it also fetches data from the webservice and update the result in database and reflect the changes to UI from database.

How to contribute?

Questions?🤔

Hit me on twitter Twitter Medium Facebook

Resources

Credits

Its inspired from Youtube Android App

License

Copyright 2018 Burhanuddin Rashid

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.

관련 프로젝트 살펴보기

불러오는 중…