How to attach GestureDetector to a ListPreference?

前端 未结 3 420
故里飘歌
故里飘歌 2021-01-18 02:01

The challenge of attaching a GestureDetector to a ListPreference is 2-fold:

  1. Getting a handle to a ListPreference that\'s only defined in a preferences.xml (i.e
3条回答
  •  一整个雨季
    2021-01-18 02:37

    I have set a GestrueDetector to a ScrollView using setOnTouchListener previously and searched for a similar method for ListPreference, however since the ListPreference does not contain such a method, I do not believe this will be possible.

提交回复
热议问题