You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.
First off, thank you for this repo. this is an challenging, but worthwhile endeavor.
I was going through TweetElement.java , when I caught something odd with getMeasuredHeightWithMargins(UIElement uiElement) and getHeightWithMargins(UIElement) . For ease, I have attached the methods below:
As you can tell, there is no different between the two. I'm still learning, so I might be wrong, but do you mean to call element.getHeight() in the first method? If so let me know, I'd be happy to submit a PR.
The text was updated successfully, but these errors were encountered:
Good points! In case you missed it, I recommend having a look at Litho. It incorporates a lot of these optimizations (and more!) behind a simple declarative API :-)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey lucas,
First off, thank you for this repo. this is an challenging, but worthwhile endeavor.
I was going through
TweetElement.java
, when I caught something odd withgetMeasuredHeightWithMargins(UIElement uiElement)
andgetHeightWithMargins(UIElement)
. For ease, I have attached the methods below:As you can tell, there is no different between the two. I'm still learning, so I might be wrong, but do you mean to call
element.getHeight()
in the first method? If so let me know, I'd be happy to submit a PR.The text was updated successfully, but these errors were encountered: