Example #1
0
  private void initGrid() {
    FieldsList list = Sqlite.getFieldsList(context, 3, clientId);

    mCustomGrid.setDataInfo(getItemList(), list);
    mCustomGrid.setCustomGridType(Constants.CustomGridType.MESSAGE);
    mCustomGrid.setLinkHandler(mHandler);
  }
Example #2
0
  private void resetGrid() {

    FieldsList list = Sqlite.getFieldsList(context, 3, clientId);
    mCustomGrid.setDataInfo(getItemList(), list);
    mCustomGrid.invalidate();
  }