looking to implement a wall (GridView?) that goes off-screen and user can touch to move it around

后端 未结 4 1911
半阙折子戏
半阙折子戏 2021-02-05 08:13

Desired effect I have a bunch of small images that I\'d like to show on a \"wall\" and then let the user fling this wall in any direction and select an image.

4条回答
  •  忘掉有多难
    2021-02-05 08:47

    I think that the only Android native solution for this is to have an embebed WebView in which you can have that bi-dimensional scroll (and by the way is the only thing that has this capability).

    Be pressing an image you can control the behavior by a callback from JavaScript to JAva.

    This is not very "pretty" but... it's the only viable way to do what you want "out of the box".

提交回复
热议问题