Android错误:我在折叠单元格上存在问题,该问题在单击并显示时没有动画?

时间:2019-07-12 10:12:33

标签: java android

我希望使用此代码不会在点击时折叠动画。跳过动画时,打开时没有动画  Xml:

    <com.ramotion.foldingcell.FoldingCell xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:folding-cell="http://schemas.android.com/apk/res-auto"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        folding-cell:additionalFlipsCount="2"
        folding-cell:animationDuration="1000"
        folding-cell:backSideColor="@color/bgBackSideColor"
        folding-cell:cameraHeight="30">

错误:

            at com.ramotion.foldingcell.FoldingCell.calculateHeightsForAnimationParts(FoldingCell.java:304)
            at com.ramotion.foldingcell.FoldingCell.unfold(FoldingCell.java:147)
            at com.ramotion.foldingcell.FoldingCell.toggle(FoldingCell.java:237)
            at com.example.afinal.About$3.onItemClick(About.java:62)
            at android.widget.AdapterView.performItemClick(AdapterView.java:310)
            at android.widget.AbsListView.performItemClick(AbsListView.java:1155)
            at android.widget.AbsListView$PerformClick.run(AbsListView.java:3135)
            at android.widget.AbsListView$3.run(AbsListView.java:4050)
            at android.os.Handler.handleCallback(Handler.java:751)
            at android.os.Handler.dispatchMessage(Handler.java:95)
            at android.os.Looper.loop(Looper.java:154)

0 个答案:

没有答案