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
Add isInEditMode checks for preview rendering. #176
Comments
Are you initializing the calendar? See the README for an example of calling |
Yeah... I missed it... Sorry for the inconvenience! |
We can add some isInEdit checks for reasonable preview rendering.
|
That would help 👍 |
Re-purposed the issue for that task. |
Hi :) So, any progress with that? I have problems with previewing layout in AS (did not check eclipse), if there is CalendarPickerView dropped onto layout. |
Hello again. Few months ago I just threw away this component. Now took that again, and still problems with rendering. AS, API17 rendered, gradle imported 1.6.4 version. Found that in google: https://code.google.com/p/android/issues/detail?id=75940 So how are you guys using this component? |
@glebsts you're just talking about issues with previewing a |
I am just trying to figure out if something was fixed or is going to be fixed :) Yes, issue with preview in AS. |
No changes have been made on this issue. PRs welcome if you really need AS preview (most of us at Square don't use it). |
Well, I thought idea is to provide a component that works in any conditions :) You could at least make a note in readme if you put it into public.... or at least make some statements here in github discussions :) Your component is considered the best across the internets, I was hoping you might be interested in keeping perfect reputation :) |
Hey people!
I am trying to use TimesSquare but am getting a NullPointerException in a simple preview from Android Studio like:
Looking through the code it seems a bit strange that it should be working...
This code seems like will always throw a null pointer exception but I may be mistaken...
The layout file I am trying to preview is:
When I run it the app crashes just the same.
Am I missing something? Thanks in advance
The text was updated successfully, but these errors were encountered: