sockeqwe / mosby

A Model-View-Presenter / Model-View-Intent library for modern Android apps
http://hannesdorfmann.com/mosby/
Apache License 2.0
5.49k stars 841 forks source link

Let change or remove showContent animation in LCE views #173

Closed urizev closed 7 years ago

urizev commented 7 years ago

Hi,

I think it is not possible right now to remove or change showContent animation in, for instance, MvpLceFragment (and subclasses).

I know a solution would be to override pertinent methods but I think it would be better if animation where decoupled from current implementation.

I think it wouldn't be hard to implement.

sockeqwe commented 7 years ago

You can override animateContentViewIn() https://github.com/sockeqwe/mosby/blob/master/mvp/src/main/java/com/hannesdorfmann/mosby/mvp/lce/MvpLceActivity.java#L112

urizev commented 7 years ago

That's right! I missed that :(

Thanks! And sorry for the obvious question