-
Notifications
You must be signed in to change notification settings - Fork 688
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
support api 8 and up #39
base: master
Are you sure you want to change the base?
Conversation
+1 Would love to see this get merged. |
@grantland please merge the changes of @ndori |
Could someone confirm that this works on android-8? I would think it would crash when trying to load the class In addition, this needs to be rebased on |
@Override | ||
public void onLayoutChange(View view, int left, int top, int right, int bottom, | ||
int oldLeft, int oldTop, int oldRight, int oldBottom) { | ||
private AutofitSizeChangedListener sizeListener = new AutofitSizeChangedListener(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: use hungarian notation to match the style in the rest of the file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: also keep this up top with other ivars
Unfortunately it looks like this change will only allow usage of |
currently this library supports only api 14 and above (although it can actually support api 11 and above out of the box)
I've made a workaround for api that are lower than 11.