Added stylus tool to selection tracker

This commit is contained in:
M66B 2020-04-16 12:06:39 +02:00
parent 2d0fe5433a
commit 56fbae9a5d
1 changed files with 1 additions and 0 deletions

View File

@ -1206,6 +1206,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
new ItemDetailsLookupMessage(rvMessage), new ItemDetailsLookupMessage(rvMessage),
StorageStrategy.createLongStorage()) StorageStrategy.createLongStorage())
.withSelectionPredicate(selectionPredicate) .withSelectionPredicate(selectionPredicate)
.withPointerTooltypes(MotionEvent.TOOL_TYPE_MOUSE, MotionEvent.TOOL_TYPE_STYLUS)
.build(); .build();
adapter.setSelectionTracker(selectionTracker); adapter.setSelectionTracker(selectionTracker);