File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
cardstackview/src/main/java/com/yuyakaido/android/cardstackview Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -257,6 +257,8 @@ private void update(RecyclerView.Recycler recycler) {
257
257
// 6. ページング完了後はBが表示されるはずが、Aが画面に表示される
258
258
removeAndRecycleView (getTopView (), recycler );
259
259
260
+ final Direction direction = state .getDirection ();
261
+
260
262
state .next (state .status .toAnimatedStatus ());
261
263
state .topPosition ++;
262
264
state .dx = 0 ;
@@ -296,7 +298,6 @@ private void update(RecyclerView.Recycler recycler) {
296
298
* at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
297
299
* at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
298
300
*/
299
- final Direction direction = state .getDirection ();
300
301
new Handler ().post (new Runnable () {
301
302
@ Override
302
303
public void run () {
You can’t perform that action at this time.
0 commit comments