Swipe Back like Pinterest or Tumblr

后端 未结 10 569
广开言路
广开言路 2020-12-22 16:51

Does anybody has an idea how Pinterest or Tumblr has implemented there \"swipe back\" method.

i.e. on Pinterest you can click on a post on the news feed. Than the

相关标签:
10条回答
  • 2020-12-22 17:17

    I wrote a project. It allows you to develop an app navigated by Fragments easily, performs just like Pinterest.

    https://github.com/fengdai/FragmentMaster

    Maybe it's not the answer what you want. But I hope it's useful to someone else.

    0 讨论(0)
  • 2020-12-22 17:21

    This library allows you to open fragments as in iOS and close them using swipes

    https://github.com/shikleev/fragula

    0 讨论(0)
  • 2020-12-22 17:24

    I found a GitHub project that is based on SwipeBack like Pinterest.

    It is really a great open source project that should solve your problem. It does as you needed like go to previous screen by pressing back or simple swipe. As this project having option

    1. Swipe left to Right

    2. Swipe Right to Left

    3. Swipe Bottom to top

    https://github.com/Issacw0ng/SwipeBackLayout

    and also you install this demo application from Google Play.

    https://play.google.com/store/apps/details?id=me.imid.swipebacklayout.demo

    Attached Screenshots:-

    enter image description here

    Hope this will help you.

    0 讨论(0)
  • 2020-12-22 17:24

    I just checked with hierarchy viewer. It seems like they are using ViewPager with a screenshot of the previous activity.

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