code: public void onBoardSetup(NotificationBoard board) {
          if (DBG) Log.v(TAG, "onBoardSetup");
  
          LayoutInflater inflater = board.getInflater();
          View footer = inflater.inflate(R.layout.notification_board_footer, null, false);
          board.addFooterView(footer);
          board.setFooterHeight(200);
  
          // board.setHeaderHeight(150);
          board.setHeaderMargin(0, 150, 0, 0);
  
          board.setHeaderDivider(R.drawable.divider_horizontal_dark);
          board.setFooterDivider(R.drawable.divider_horizontal_dark);
          board.setRowDivider(R.drawable.divider_horizontal_dark);
  
          board.setBoardPadding(80, 0, 80, 0);
          board.setRowMargin(20, 0, 20, 0);
  
          board.setClearView(footer.findViewById(R.id.clear));
  
          board.addStateListener(new NotificationBoard.SimpleStateListener() {
  
                  @Override
                  public void onBoardTranslationY(NotificationBoard board, float y) {
                      final float t = board.getBoardTranslationY();
                      if (t == 0.0f) {
                          board.showClearView(false);
                      } else if (t == -board.getBoardHeight()) {
                          board.showClearView(false);
                      } else if (y == 0.0f) {
                          board.showClearView(board.getNotificationCount() > 0);
                      }
                  }
  
                  @Override
                  public void onBoardEndOpen(NotificationBoard board) {
                      board.showClearView(board.getNotificationCount() > 0);
                  }
  
                  @Override
                  public void onBoardStartClose(NotificationBoard board) {
                      board.showClearView(false);
                  }
              });
      }
docs: Called only once after this callback is set.
  
  @param board