Spinner dropdown list is jumping while scrolling

前端 未结 2 1082
我在风中等你
我在风中等你 2021-01-05 01:10

Why is my spinner jumping while scrolling? I\'m simply doing following:

ArrayAdapter adapter = new ArrayAdapter(v.getContext(), l         


        
相关标签:
2条回答
  • 2021-01-05 01:25

    I was faced with this.

    Problem is anroidx update libs

    UPDATE: as Bill Bunting comment "alpha04" is ok now

    Resolve by revert version appcompat from "alpha02/alpha03" up to "alpha04"

    implementation 'androidx.appcompat:appcompat:1.1.0-alpha04'

    or better

    implementation 'androidx.appcompat:appcompat:1.0.2' -> for more stable

    0 讨论(0)
  • 2021-01-05 01:36

    This is a very annoying, but known bug fixed in 1.1.0-alpha04 of appcompat, as per the release notes Fixed AppCompatSpinnerscrolling in dropdown mode

    0 讨论(0)
提交回复
热议问题