Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

动画执行有问题 #2

Open
JackChan1999 opened this issue Dec 8, 2016 · 8 comments
Open

动画执行有问题 #2

JackChan1999 opened this issue Dec 8, 2016 · 8 comments

Comments

@JackChan1999
Copy link

JackChan1999 commented Dec 8, 2016

布局文件如下所示时,我的频道和其他频道的item移动动画会出现问题,动画不正常

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <android.support.v7.widget.Toolbar
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        />

    <android.support.v7.widget.RecyclerView
        android:id="@+id/recy"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:clipChildren="false"
        android:clipToPadding="false"/>
</LinearLayout>
@csh159
Copy link

csh159 commented Apr 11, 2017

是哦,动画执行不正常!

@Achenglove
Copy link

image
像这种下面有好几个大分类的,当选择分类内容时添加上去,当要删除时又要回到原来的分类中去需要怎样实现呢?

@50kg
Copy link

50kg commented Dec 1, 2017

楼上的做出来了吗??求

@50kg
Copy link

50kg commented Dec 1, 2017

动画执行问题recycler包裹一下frameLayout就ok

@Achenglove
Copy link

@50kg 你也有这种需求?

@50kg
Copy link

50kg commented Dec 1, 2017

@Achenglove 有啊,做出来了吗?我连多布局分组显示还没弄好,能分享一下吗?qq996413428

@Achenglove
Copy link

@50kg 现在不是很有空,赶项目,改天咯。思路:通过 getItemViewType()方法根据不同位置显示不同布局,然后选上与取消就是集合或者数组的变换了。

@a458167371
Copy link

@Achenglove 能分享一下不 同求啊 @50kg qq458167371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants