不支持的PagerAdapter,在fragment中使用该自定义view会出现viewPager高度不会随着滑动改变的情况。
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by reproducing the height behavior with the custom view and ViewPager in a fragment, then compare it with the activity case described in the issue. Inspect the dispatchTouchEvent path and the effect of requestLayout; done means the fragment's ViewPager height updates correctly without an unacceptable performance impact.
Written by the indexing model from the issue text.
Description
第一个问题已经自行解决,第二个问题我是在dispatchTouchEvent方法中加入了requestLayout viewPager的高度才正常。在activity中使用没有此情况,不知道这样会不会影响性能。
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 437
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hongyangAndroid/Android-StickyNavLayout
-
Indicator想参与联动 怎么做呢Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
上拉后,下拉到底部 上面有空白Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
hongyangAndroid/Android-StickyNavLayout#42 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
hongyangAndroid/Android-StickyNavLayout#35 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 15/100
hongyangAndroid/Android-StickyNavLayout#33 · 3 comments ·
All issues in hongyangAndroid/Android-StickyNavLayout
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
component/zeebe kind/bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
UniversalMediaServer/UniversalMediaServer#6356 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
refinedmods/refinedstorage2#1414 · 1 comment ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
yegor256/rultor-image#76 · 1 comment ·