File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
library/src/main/java/io/github/yavski/fabspeeddial Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1616
1717package io .github .yavski .fabspeeddial ;
1818
19+ import android .content .Context ;
1920import android .graphics .Rect ;
2021import android .os .Build ;
2122import android .support .design .widget .AppBarLayout ;
2223import android .support .design .widget .CoordinatorLayout ;
2324import android .support .design .widget .Snackbar ;
2425import android .support .v4 .view .ViewCompat ;
2526import android .support .v4 .view .ViewPropertyAnimatorCompat ;
27+ import android .util .AttributeSet ;
2628import android .view .View ;
2729
2830import java .lang .reflect .InvocationTargetException ;
@@ -61,6 +63,10 @@ public class FabSpeedDialBehaviour extends CoordinatorLayout.Behavior<FabSpeedDi
6163 private float mFabTranslationY ;
6264 private Rect mTmpRect ;
6365
66+ public FabSpeedDialBehaviour (Context context , AttributeSet attrs ) {
67+ super (context , attrs );
68+ }
69+
6470 @ Override
6571 public boolean layoutDependsOn (CoordinatorLayout parent , FabSpeedDial child , View dependency ) {
6672 // We're dependent on all SnackbarLayouts (if enabled)
You can’t perform that action at this time.
0 commit comments