3
ユーザーがオブジェクトをドラッグして特定の操作を実行すると、Androidナビゲーションドロワーが無効になります。これは、誤って引き出しを開けないようにするためです。問題は、ログメッセージがあふれていることです。これは、他の問題のトラブルシューティングが困難になっています。AndroidドロワーのViewDragHelperからの余分なログ
これは、私が引き出しをロックする方法です。
drawer.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);
これは私が得ているログメッセージです。
E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because ViewDragHelper did not receive all the events in the event stream.
E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because ViewDragHelper did not receive all the events in the event stream.
E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because ViewDragHelper did not receive all the events in the event stream.
E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because ViewDragHelper did not receive all the events in the event stream.
E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because ViewDragHelper did not receive all the events in the event stream.
E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because ViewDragHelper did not receive all the events in the event stream.
E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because ViewDragHelper did not receive all the events in the event stream.
これを軽減するのに成功しましたか? ナビゲーション・ドロワーを開くときにZ軸に沿ってビューを明示的に並べ替える必要がある点で同様の問題があります。これは、アクションバーのボタンでドロワーが制御されているときにうまく動作しますが、onDrawerSlide内で並べ替えが実行されたときに、同じログメッセージが呼び出されます(一部の一貫性のないオープン/クローズ動作)。 –