Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.0.1 #13

Merged
merged 5 commits into from
Mar 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 89 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,91 @@
# Built application files
*.apk
*.aar
*.ap_
*.aab

# Files for the ART/Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/
out/
# Uncomment the following line in case you need and you don't have the release build type files in your app
# release/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log

# Android Studio Navigation editor temp files
.navigation/

# Android Studio captures folder
captures/

# IntelliJ
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/assetWizardSettings.xml
.idea/dictionaries
.idea/libraries
# Android Studio 3 in .gitignore file.
.idea/caches
.idea/modules.xml
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
.idea/navEditor.xml

# Keystore files
# Uncomment the following lines if you do not want to check your keystore files in.
#*.jks
#*.keystore

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
.cxx
keystore.properties
.cxx/

# Google Services (e.g. APIs or Firebase)
# google-services.json

# Freeline
freeline.py
freeline/
freeline_project_description.json

# fastlane
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md

# Version control
vcs.xml

# lint
lint/intermediates/
lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/

# Android Profiling
*.hprof

# Signing
keystore.properties
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

122 changes: 0 additions & 122 deletions .idea/codeStyles/Project.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

21 changes: 0 additions & 21 deletions .idea/gradle.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/misc.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ allprojects {
}
```

Then, in your app's directory, you can include it the same way like other libraries. Make sure that you set the comnpatibilty version to 1.8 inside `compileOptions`:
Then, in your app's directory, you can include it the same way like other libraries.
Make sure that you set the comnpatibilty version to 1.8 inside `compileOptions`:

```gradle
android {
Expand All @@ -41,11 +42,12 @@ android {
}

dependencies {
implementation 'com.github.vkay94:DoubleTapPlayerView:1.0.0'
implementation 'com.github.vkay94:DoubleTapPlayerView:1.0.1'
}
```

The minimum API level supported by this library is API 16 as ExoPlayer does, but I can't verify versions below API level 21 (Lollipop) myself. So feedback is welcomed.
The minimum API level supported by this library is API 16 as ExoPlayer does, but I can't
verify versions below API level 21 (Lollipop) myself. So feedback is welcomed.


# Getting started
Expand Down Expand Up @@ -78,7 +80,8 @@ into your XML layout, e.g. on top of `DoubleTapPlayerView` or inside ExoPlayer's
```

Then, inside your `Activity` or `Fragment`, you can specify which preparations should be done
before and after the animation, but at least, you have got to toggle the visibility of the overlay and reference the (Simple)ExoPlayer to it:
before and after the animation, but at least, you have got to toggle the visibility of the
overlay and reference the (Simple)ExoPlayer to it:

```kotlin
youtube_overlay
Expand All @@ -103,8 +106,9 @@ youtube_overlay
youtube_overlay.player(simpleExoPlayer)
```

This way, you have more control about the appearance, for example you could apply a fading animation to it.
For a full initialization you can refer to the demo application's MainActivity and layout files.
This way, you have more control about the appearance, for example you could apply a fading
animation to it. For a full initialization you can refer to the demo application's MainActivity
and layout files.

---

Expand All @@ -116,7 +120,8 @@ The following sections provide detailed documentation for the components of the

`DoubleTapPlayerView` is the core of this library. It recognizes specific gestures
which provides more control for the double tapping gesture.
An overview about the added methods can be found in the [PlayerDoubleTapListener][PlayerDoubleTapListener] interface.
An overview about the added methods can be found in the [PlayerDoubleTapListener][PlayerDoubleTapListener]
interface.

You can adjust how long the double tap mode remains after the last action,
the default value is 650 milliseconds.
Expand Down
Loading