@Override
  public void setBottomOffset(int offset) {
    // the extra padding is a child at the end of the list
    var lp = mBottomGap.getLayoutParams();
    lp.height = offset;
    mBottomGap.setLayoutParams(lp);
  }
@Test
  public void testSetPadding() {
    var underTest = buildViewUnderTest();

    var spacer = underTest.findViewById(R.id.bottom_gap_view);
    Assert.assertEquals(0, spacer.getHeight());

    underTest.setBottomOffset(11);
    Assert.assertEquals(11, spacer.getLayoutParams().height);
  }