takahirom / webview-in-coordinatorlayout

248 stars 71 forks source link

How to properly use this with swiperefreshlayout? #9

Open vanitasvitae opened 8 years ago

vanitasvitae commented 8 years ago

Hi! I want to use the nestedWebView together with a SwipeRefreshLayout inside a CoordinatorLayout with two Toolbars (top and bottom), but the SwipeRefreshLayout is too sensible now. Is there a way to fix this? SwipeRefresh works fine with webview.setNestedScrollingEnabled(false), but then the Toolbars do not hide.

nikolai-manzhos commented 6 years ago

Did you manage to get it working? I'm facing the same issue.

vanitasvitae commented 6 years ago

Nope, eventually gave up on it :(

nikolai-manzhos commented 6 years ago

I've managed to find working solution. It's based on NestedScrollView from support library and working perfectly with SwipeRefreshLayout. Though you might need to create custom SwipeRefreshLayout. NestedWebView CustomSwipeRefreshLayout