GithubHelp home page GithubHelp logo

recyclerviewitemanimators's People

Contributors

gabrielemariotti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

recyclerviewitemanimators's Issues

SwingBottomInAnimationAdapter : generic type is missing

First of all, great work!

SwingBottomInAnimationAdapter has missing configuration, it should be generic as other adapters.

So now we have:

public class SwingBottomInAnimationAdapter extends AnimatorAdapter {
  public SwingBottomInAnimationAdapter(RecyclerView.Adapter<RecyclerView.ViewHolder> adapter, RecyclerView recyclerView) {
        super(adapter, recyclerView);
    }
...
}

and should be :

public class SwingBottomInAnimationAdapter<T extends RecyclerView.ViewHolder> extends AnimatorAdapter<T> {

    public SwingBottomInAnimationAdapter(RecyclerView.Adapter<T> adapter, RecyclerView recyclerView) {
        super(adapter, recyclerView);
    }
...

ExpandableTextView expanded state lost during orientation change

ExnpandableTextView doesn't maintain expanded state changes between orientation/config changes.

How to reproduce:

  1. Remove android:configChanges from manifest of current Demo.
  2. Run the app.
  3. Expand ExpandableTextView.
    and
  4. Change orientation of the device.

ExpandableTextView loses its expanded state.

I'd like to ask a question

With using ItemAnimators, whether we should use viewholder.getPosition in place of position on the onBindViewHolder()

Updates?

Are there any plans to update this now that RecyclerView has been released? Currently you're still requiring min sdk L.

This project also has been noticed by the community, and is currently the #1 search result on Google for RecyclerView ItemAnimator.

One more thing, as things are currently, this project doesn't need to be an Android Library, but could just be converted to a jar.

Maybe you could help?

While building this library, did you ever encounter calling setItemAnimator and passing in a a class that extends ItemAnimator does nothing? None of the callbacks in the ItemAnimator class are being triggered. Any tips would be much appreciated.

Issue Text Sometimes Disappear or Became Small

I try your code to make animation for my recycler view, but I got random bug issues, so sometime the item (string) became disappear or became smaller. It will happen if i add many item and remove it and do it repeatly. here i attach my screenshoot
screenshot_2014-10-30-10-36-00
screenshot_2014-10-30-10-37-02

Add Support for 23.1 App Compact

Let the

 public abstract class BaseItemAnimator extends SimpleItemAnimator 

instead of

public abstract class BaseItemAnimator extends RecyclerView.ItemAnimator

Missing AnimatorCompatHelper.java file

private void resetAnimation(RecyclerView.ViewHolder holder) {
// TODO: 2019-08-23 missing file
// AnimatorCompatHelper.clearInterpolator(holder.itemView);
endAnimation(holder);
}

Lost the file ‘AnimatorCompatHelper’, I removed this line and the test works fine.

Suport Recyclerview-v7:27+

Hi, I´m trying to use your lib on Android Studio 3.0.1 with Recyclerview-v7:27.0.1 and I away get "Fail to resolve" on implementation 'com.github.gabrielemariotti.recyclerview:recyclerview-animators:0.3.0-SNAPSHOT@aar'

A´m I doing something wrong or your lib must be updated?

Thank you.

ViewAnimation assumes I'm using a Linear Layout Manager

Line #270 and #271 of ViewAnimation.java:
int lastVisiblePosition = ((LinearLayoutManager)mRecyclerView.getLayoutManager()).findLastCompletelyVisibleItemPosition();
It tries to cast my layout manager to a linear layout, which is not the case, since I'm using StaggeredGridLayoutManager.

Am I missing something or the lib does not support the use of another type of Layout Manager?

Gradle not recognizing this library please fix

Could not resolve com.github.gabrielemariotti.recyclerview:recyclerview-animators:0.3.0-SNAPSHOT.
Required by:
project :app
> Could not resolve com.github.gabrielemariotti.recyclerview:recyclerview-animators:0.3.0-SNAPSHOT.
> Unable to load Maven meta-data from http://jitpack.io/com/github/gabrielemariotti/recyclerview/recyclerview-animators/0.3.0-SNAPSHOT/maven-metadata.xml.
> Could not get resource 'http://jitpack.io/com/github/gabrielemariotti/recyclerview/recyclerview-animators/0.3.0-SNAPSHOT/maven-metadata.xml'.
> Could not GET 'https://jitpack.io/com/github/gabrielemariotti/recyclerview/recyclerview-animators/0.3.0-SNAPSHOT/maven-metadata.xml'.
> Read timed out

Does minSdkVersion have to be L?

My project's minSdkVersion is 15 but in your library its L, isn't your lib compatible with older sdks?
I'm getting

Error:Execution failed for task ':doximity:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be different than version L declared in library /Users/kayvan/Documents/sources/Android-dox-as/doximity/build/intermediates/exploded-aar/com.github.gabrielemariotti.recyclerview/recyclerview-animators/0.1.0-SNAPSHOT/AndroidManifest.xml

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.