This is a migrated thread and some comments may be shown as answers.

OnCellClickListener Doesn't Fire

1 Answer 34 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Richard
Top achievements
Rank 1
Richard asked on 10 Aug 2015, 06:56 PM

 I have copied your code (below) into my app by the OnCellClickListener never fires..

 

calendarView.setOnCellClickListener(new RadCalendarView.OnCellClickListener() {
    @Override
    public void onCellClick(CalendarCell clickedCell) {
        // Respond to cell click here...
        Toast.makeText(MainActivity.this, "setOnCellClickListener: " +
                clickedCell.getText(), Toast.LENGTH_LONG).show();
    }
});

 

Is there some other setting I need to turn on or off in order for this to work? 

I have tried this in both Month and Week view mode.

Rich

 

1 Answer, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 10 Aug 2015, 07:20 PM
Figured this one out as well.. my custom gesture handler was returning "true" instead of "false" for touches I wasn't actually handling.
Tags
Calendar
Asked by
Richard
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Share this question
or