Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9949c2f

Browse files
committed
pull code
1 parent f99d544 commit 9949c2f

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

‎Drag-FlowLayout/dragflowlayout/src/main/java/com/heaven7/android/dragflowlayout/DragFlowLayout.java‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import android.annotation.TargetApi;
44
import android.content.Context;
5+
import android.os.Parcelable;
56
import android.support.annotation.IntDef;
67
import android.support.annotation.NonNull;
78
import android.support.v4.view.GestureDetectorCompat;
@@ -526,7 +527,12 @@ protected void onDetachedFromWindow() {
526527
removeCallbacks(mCheckForRelease);
527528
}
528529

529-
/* @Override
530+
@Override
531+
protected Parcelable onSaveInstanceState() {
532+
return super.onSaveInstanceState();
533+
}
534+
535+
/* @Override
530536
public boolean onInterceptTouchEvent(MotionEvent ev) {
531537
if(!mDraggable){
532538
return super.onInterceptTouchEvent(ev);
@@ -924,5 +930,4 @@ public void updateItem(Object preData, Object newData) {
924930
}
925931
}
926932

927-
928933
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<resources>
4+
<declare-styleable name="FlowLayout">
5+
<attr name="fl_horizontal_space" format="dimension|reference"/>
6+
<attr name="fl_vertical_space" format="dimension|reference"/>
7+
</declare-styleable>
8+
9+
</resources>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /