Skip to content

I want just find solution this. onclickData problem. - read one single cell value. If you can tell tips #204

Description

@Hessu007

I new with the TableView component. Is there some one who can show me, how to read. one single Cell value.
If i am understand right public void onDataClicked - just return RowIndex int value - that fine - but not columnIndex. Or is there something like getSelectedCellValue() function or... how to implement

@OverRide
public void onDataClicked(int rowIndex, String[] strings) {

        final String carString = "Click: " + rowIndex;
        Toast.makeText(MainActivity.this, carString, Toast.LENGTH_SHORT).show();

Thanks for tips and support.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions