forked from organicmaps/organicmaps
[android] Applied workaround https://rileymacdonald.ca/2018/08/06/android-nestedscrollview-children-require-double-click-scroll/ to fix the existing google issue in NestedScrollView https://issuetracker.google.com/u/0/issues/37070828 when child view doesn't get the touch event after the gentle fling gesture is compeleted (almost completed)
This commit is contained in:
parent
9d9bccfe5c
commit
4a85620161
2 changed files with 2097 additions and 2 deletions
File diff suppressed because it is too large
Load diff
|
@ -34,7 +34,7 @@ import androidx.annotation.ColorInt;
|
|||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.widget.Toolbar;
|
||||
import androidx.core.widget.NestedScrollView;
|
||||
import androidx.core.widget.NestedScrollViewClickFixed;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.recyclerview.widget.GridLayoutManager;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
|
@ -113,7 +113,7 @@ import static com.mapswithme.util.statistics.Statistics.EventName.PP_SPONSORED_A
|
|||
import static com.mapswithme.util.statistics.Statistics.EventName.PP_SPONSORED_DETAILS;
|
||||
import static com.mapswithme.util.statistics.Statistics.EventName.PP_SPONSORED_OPENTABLE;
|
||||
|
||||
public class PlacePageView extends NestedScrollView
|
||||
public class PlacePageView extends NestedScrollViewClickFixed
|
||||
implements View.OnClickListener,
|
||||
View.OnLongClickListener,
|
||||
Sponsored.OnPriceReceivedListener,
|
||||
|
|
Loading…
Add table
Reference in a new issue