mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-22 16:01:37 -04:00
Clarifying comment
This commit is contained in:
@@ -105,6 +105,8 @@ public class ShareChooserDialog extends BottomSheetDialogFragment {
|
||||
int appWidth = Utils.dpToPx(80, getContext());
|
||||
final int nCols = (mParentWidth - /* padding */ Utils.dpToPx(8, getContext())) / appWidth;
|
||||
GridLayoutManager glm = new GridLayoutManager(getContext(), nCols);
|
||||
|
||||
// Ensure that if available, the "Nearby Swap" item spans the entire width.
|
||||
glm.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
|
||||
@Override
|
||||
public int getSpanSize(int position) {
|
||||
|
||||
Reference in New Issue
Block a user