Coder Social home page Coder Social logo

simonebortolin / flowlayoutmanager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiaofeng-han/androidlibs

21.0 21.0 11.0 1.55 MB

Android 3rd party library to make implementing a FlowLayoutManager

License: GNU General Public License v3.0

Java 100.00%

flowlayoutmanager's Issues

MotionLayout scroll transition not working

I'm trying to run a MotionLayout transition when RecyclerView is scrolled. The problem is that using this LayoutManager the onSwipe isn't being called. With LinearLayoutManager or GridLayoutManager I don't have this problem.
It only works if I scroll the view that is affected.

<Transition
    app:constraintSetEnd="@+id/end"
    app:constraintSetStart="@+id/start"
    app:duration="0">
    <OnSwipe
        app:dragDirection="dragUp"
        app:moveWhenScrollAtTop="false"
        app:touchAnchorId="@+id/recycler_view"
        app:touchAnchorSide="top"
        motion:onTouchUp="stop" />
</Transition>

Licences

"LICENCE" file indicate "GPL-3-0"
"README.md indicate "Apache V2"

which is the right ?

Ignore layout_margin

<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/ingredientContainerView"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:background="@drawable/background_rounded_black_empty"
    android:paddingStart="10dp"
    android:paddingEnd="10dp"
    android:paddingTop="4dp"
    android:paddingBottom="4dp"
    android:layout_margin="5dp"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">

    <TextView android:id="@+id/ingredientNameView"
        android:fontFamily="@font/roboto_regular"
        android:textSize="14sp"
        android:textColor="@color/colorBlacker"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        tools:text="Сир"/>

</androidx.constraintlayout.widget.ConstraintLayout>

So each item looks like:
item

But got:
1233

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.