Skip to content

Commit

Permalink
Changed way to configure settings and added more configuration to pla…
Browse files Browse the repository at this point in the history
…y with.
  • Loading branch information
pankaj89 committed Dec 8, 2020
1 parent 210f7ad commit 79b07cd
Show file tree
Hide file tree
Showing 10 changed files with 100 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
/captures
.externalNativeBuild
.cxx
.idea
3 changes: 0 additions & 3 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/markdown-navigator-enh.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions .idea/markdown-navigator.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
minSdkVersion 15
targetSdkVersion 29
versionCode 1
versionName "1.5"
versionName "1.4.5"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class MasterExoPlayerHelper(
lastVisibleItem = layoutManager?.findLastVisibleItemPosition() ?: 0;
visibleCount = (lastVisibleItem - firstVisibleItem) + 1;

if (dx == 0 && dy == 0) {
if (dx == 0 && dy == 0 && recyclerView.childCount > 0) {
play(recyclerView.getChildAt(0))
}
}
Expand Down Expand Up @@ -290,7 +290,7 @@ class MasterExoPlayerHelper(
return null
}

public fun getPlayerView():PlayerView{
public fun getPlayerView(): PlayerView {
return playerView
}
}

0 comments on commit 79b07cd

Please sign in to comment.