Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
536
Issue boards
Milestones
Wiki
Code
Merge requests
16
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
b201ef0d
Commit
b201ef0d
authored
4 years ago
by
Nicolas Pomepuy
Browse files
Options
Downloads
Patches
Plain Diff
Fix IllegalStateException
parent
a85fa028
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!637
Fix IllegalStateException
Pipeline
#18996
passed with stage
in 2 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/vlc-android/src/org/videolan/vlc/gui/helpers/BottomNavigationBehavior.kt
+12
-0
12 additions, 0 deletions
.../org/videolan/vlc/gui/helpers/BottomNavigationBehavior.kt
with
12 additions
and
0 deletions
application/vlc-android/src/org/videolan/vlc/gui/helpers/BottomNavigationBehavior.kt
+
12
−
0
View file @
b201ef0d
...
...
@@ -29,6 +29,7 @@ import android.content.Context
import
android.os.Parcel
import
android.os.Parcelable
import
android.util.AttributeSet
import
android.util.Log
import
android.view.Gravity
import
android.view.View
import
android.view.ViewGroup
...
...
@@ -39,6 +40,7 @@ import androidx.core.animation.addListener
import
androidx.customview.view.AbsSavedState
import
com.google.android.material.bottomsheet.BottomSheetBehavior
import
com.google.android.material.snackbar.Snackbar
import
org.videolan.vlc.BuildConfig
import
org.videolan.vlc.R
private
const
val
ENTER_ANIMATION_DURATION
=
225L
...
...
@@ -235,4 +237,14 @@ class BottomNavigationBehaviorState : AbsSavedState {
super
.
writeToParcel
(
out
,
flags
)
out
.
writeFloat
(
translation
)
}
companion
object
CREATOR
:
Parcelable
.
Creator
<
BottomNavigationBehaviorState
>
{
override
fun
createFromParcel
(
parcel
:
Parcel
):
BottomNavigationBehaviorState
{
return
BottomNavigationBehaviorState
(
parcel
)
}
override
fun
newArray
(
size
:
Int
):
Array
<
BottomNavigationBehaviorState
?>
{
return
arrayOfNulls
(
size
)
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment