Giter VIP home page Giter VIP logo

Comments (5)

liguangze avatar liguangze commented on May 24, 2024 1

向下一拉才能轮播,这样然让第一次使用的人不知道怎么操作,建议第一次进来就是开启状态,怎么设置

from spinmenu.

Hitomis avatar Hitomis commented on May 24, 2024

SpinMenu.openMenu().
你可以把代码导入项目,然后拿到spinMenu. 点一下,as自动提示功能足以看到这几个简单的api。
不过还是不建议这么做,进来就自动打开,页面内容变化区域太夸张,不友好。
如果给一个 GuideView 做动画提示,这样用户体验岂不是更好

from spinmenu.

liguangze avatar liguangze commented on May 24, 2024

SpinMenu.openMenu().这个方法报错呢,我导入了

from spinmenu.

Hitomis avatar Hitomis commented on May 24, 2024

以后提问题,请附带上报错信息。以及一些相关代码信息,否则你就说个报错,我怎么知道报什么错呢?

from spinmenu.

liguangze avatar liguangze commented on May 24, 2024

知道了,,

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.hitomi.smlibrary.SpinMenuAnimator.openMenuAnimator()' on a null object reference
at com.hitomi.smlibrary.SpinMenu.openMenu(SpinMenu.java:356)
at com.lotter.util.NewMainActivity.onCreate(NewMainActivity.java:43)
at android.app.Activity.performCreate(Activity.java:6847)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2677)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2785) 
at android.app.ActivityThread.-wrap12(ActivityThread.java) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1532) 

我感觉设置 spinMenu.updateMenuState(1);spinMenu.updateMenuState(2);也不起作用呢

from spinmenu.

Related Issues (7)

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.