GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Motionlayout contain recyclerView, to update recycleview during animation,after animation recycleview not updated · Issue #230 · android/views-widgets-samples

This repository was archived by the owner on Jul 11, 2025. It is now read-only.
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Motionlayout contain recyclerView, to update recycleview during animation,after animation recycleview not updated #230

Copy link
Copy link
Open
Open
Motionlayout contain recyclerView, to update recycleview during animation,after animation recycleview not updated#230
Copy link

Description

@1352101891
1352101891
opened on Sep 15, 2021
Issue body actions

Motionlayout contain recyclerView, to update recycleview during animation,after animation recycleview not updated。

`<androidx.constraintlayout.motion.widget.MotionLayout
android:id="@+id/motionLayout"
app:layoutDescription="@xml/scene3"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:showPaths="true">

    <RelativeLayout
        android:id="@+id/testId"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintTop_toBottomOf="parent"
        app:layout_constraintVertical_chainStyle="spread">

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/recycler_media_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginTop="10dp"/>

        <com.google.android.material.floatingactionbutton.FloatingActionButton
            android:id="@+id/media_send_fab"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true"
            android:layout_alignParentBottom="true"
            android:layout_margin="16dp"
            android:onClick="sendTheMessages"
            app:fabSize="normal" />
    </RelativeLayout>
</androidx.constraintlayout.motion.widget.MotionLayout>`

motionLayout.translateToEnd(); adapter.updateitem(0,size);

it does't not work,RecyclerView not update. but after animation , to do updateitem it's work;

Reacted by simone viozzi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.