public boolean isStickyHeaderHidden() { return mStickyHeader.getVisibility() == View.GONE; }
sb.append(lithoView != null && lithoView.getVisibility() == View.VISIBLE ? "V" : "."); sb.append(layout != null && layout.getFocusable() ? "F" : "."); sb.append(lithoView != null && lithoView.isEnabled() ? "E" : ".");
sb.append(lithoView != null && lithoView.getVisibility() == View.VISIBLE ? "V" : "H"); if (layout != null && layout.getClickHandler() != null) { sb.append(" [clickable]");
@Override protected void onLayout(boolean changed, int left, int top, int right, int bottom) { super.onLayout(changed, left, top, right, bottom); if (mStickyHeader.getVisibility() == View.GONE) { return; } final int stickyHeaderLeft = getPaddingLeft(); final int stickyHeaderTop = getPaddingTop(); mStickyHeader.layout( stickyHeaderLeft, stickyHeaderTop, stickyHeaderLeft + mStickyHeader.getMeasuredWidth(), stickyHeaderTop + mStickyHeader.getMeasuredHeight()); }