search

Home  >  Q&A  >  body text

android - 有谁项目中使用了有下拉刷新和侧滑删除的listview,效果比较好的 我试过了两个效果都不是特别好

有谁项目中使用了有下拉刷新和侧滑删除的listview或者RecycleView都可以的,效果比较好的

我试过了两个效果都不是特别好

PHPzPHPz2883 days ago551

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 16:45:39

    Here is a classic open source project summarized by others: https://github.com/idisfkj/android-open-project
    It should be there, go find it yourself.

    reply
    0
  • PHPz

    PHPz2017-04-17 16:45:39

    If you pull down to refresh, there are 5 or 6 related libraries you can take a look at. This is a comparison article from which you can choose which one to use: https://github.com/desmond1121/Android-Ptr-Comparison

    As for sliding deletion, there are also related libraries on github. Here I have a ListView,不过侧滑出来是两个按钮。如果想要好的,建议用更灵活的RecyclerView that can be customized for side sliding, so that the animation effect can also use the default one.

    reply
    0
  • 阿神

    阿神2017-04-17 16:45:39

    SlideListView

    reply
    0
  • Cancelreply