Пример #1
0
  private void initGrid() {
    FieldsList list = Sqlite.getFieldsList(context, 3, clientId);

    mCustomGrid.setDataInfo(getItemList(), list);
    mCustomGrid.setCustomGridType(Constants.CustomGridType.MESSAGE);
    mCustomGrid.setLinkHandler(mHandler);
  }
Пример #2
0
  private void initGrid() {

    FieldsList list =
        Sqlite.getFieldsListBySql(context, "select * from  jxc_loudong order by ldname");
    loudongListAdapter = new LoudongListAdapter(context, list);
    loudongList.setAdapter(loudongListAdapter);
    loudongList.setOnItemClickListener(this);
  }
Пример #3
0
  private void resetGrid() {

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