* commit 'bf03acd6e72dccc5909fb0f2e190eb594a3c5ddb': Fix inability to long press page indicators (issue 11136731)
This commit is contained in:
commit
e6f66eaa28
1 file changed
+5
-1
@@ -350,7 +350,11 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
|||||||
}
|
}
|
||||||
|
|
||||||
mPageIndicator.addMarkers(markers, mAllowPagedViewAnimations);
|
mPageIndicator.addMarkers(markers, mAllowPagedViewAnimations);
|
||||||
mPageIndicator.setOnClickListener(getPageIndicatorClickListener());
|
|
||||||
|
OnClickListener listener = getPageIndicatorClickListener();
|
||||||
|
if (listener != null) {
|
||||||
|
mPageIndicator.setOnClickListener(listener);
|
||||||
|
}
|
||||||
mPageIndicator.setContentDescription(getPageIndicatorDescription());
|
mPageIndicator.setContentDescription(getPageIndicatorDescription());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user