evrencoskun / TableView

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
MIT License
3.14k stars 459 forks source link

onCellClicked start new Activity #283

Closed sanakalam closed 4 years ago

sanakalam commented 4 years ago
Intent myIntent = new Intent(needSomeContext, LoanTransaction.class);
                startActivity(myIntent);

I want to start new activity on cell clicked. But context get issue.

evrencoskun commented 4 years ago

Hi @sanakalam I don't get the issue. Could you please explain your problem?

I'd recommend you check the listener class of the sample app.

sanakalam commented 4 years ago

I was facing an issue when I want to change activity on cell click. I use the below code to resolve it. Intent intent=new Intent(mContext,LoanTransaction.class); mContext.startActivity(intent);