Code Monkey home page Code Monkey logo

Comments (4)

aitsuki avatar aitsuki commented on June 21, 2024 1

https://github.com/aitsuki/SwipeMenuRecyclerView/releases/tag/2.1.4 已支持RTL(未经过严格测试,出问题再重新打开此Issue吧)

from swipemenurecyclerview.

aitsuki avatar aitsuki commented on June 21, 2024

好的,我稍微试了一下发现改RTL后还会有其他小问题,例如parallax的顺序错了。我找时间一并修复后再发个新版本吧

from swipemenurecyclerview.

aitsuki avatar aitsuki commented on June 21, 2024

我发现切换RTL布局后,所有类型的菜单都出现了问题,原因是Designer的onInit方法的回调时机有误。
目前已修复这个Bug 64535f1

另外,我暂时不会修改OpenLeftMenu和OpenRightMenu这几个方法,我不确定它们的行为是否真的是错的,毕竟阿拉伯人的左边和我们的左边是同一个概念,只是Android为了适配RTL把我们弄混乱了。

你可能需要的是OpenStartMenu和OpenEndMenu这几个方法。

from swipemenurecyclerview.

kakarrot avatar kakarrot commented on June 21, 2024

嗯,确实如此,openLeftMenu()openRightMenu() 的方法可以不变,新增加 openStartMenuopenEndMenu() 更好

from swipemenurecyclerview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.