-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logcat errors on cell selection in CalendarPickerView inside AlertDialog #103
Comments
No update, haven't had a chance to look at it. PRs welcome! |
This issue is open. |
I've been digging this issue because performance of the calendar when the layout is being refreshed several times is horrible... This has to do (at least that is what i've found) with setText() of the text view used as the cell. Once you remove it - all problems are gone! So - instead of using the textview's text property i am simply drawing it myself - and this solved it all! Can't commit the changes right now as my code is highly customized but it comes down to modifying this in CalendarCellView:
public CalendarCellView(Context context, AttributeSet attrs) {
protected void onFinishInflate() {
public void setCellText(String text) {
// draw the text That's pretty much it. Sorry for the unformatted text - i am not using gitHub that much :-) Hope it helps out! |
This is again a cyclic reference. Please provide a proper solution. My code is at production level. @JakeWharton @edenman Please look at this. How to reopen this cyclic referenced issues. This is a lot of pain. |
The AlertDialog is created with:
Note: Inflating xml containing a CalendarPickerView results in the same situation):
The logcat shows the following whenever a cell is selected/deselected:
The text was updated successfully, but these errors were encountered: