Open alissonvargas opened 7 years ago
You need to setDirection on the SwipyRefreshLayout to SwipyRefreshLayout.Both,
The reason why it works for you putting in the messured height is because any unknown value, will result int becoming Both, which has the integer value of 2.
How to start animation programmatically?
swipyrefreshlayout.setRefreshing(true); -> is not working for me. Bottom direction.
I found the problem... The first pass on getMeasuredHeight() on setDirection(), returning 0 from height. The second time is works fine.