-
Notifications
You must be signed in to change notification settings - Fork 238
History may not be empty #175
Comments
This happened to me only when Please check my implementation of the |
Hi, thanks for your reply. My animation logic was very similar to yours (just in case I tried to do exactly like you do) but problem is still the same. |
@EligijusStarinskas you are correct, I added a line to my transition
This is clearly a bug in Flow, as it's supposed to return
|
In the meantime, I snatched the master branch of Flow and modified
And also modified my
|
I think that main activity shouldn't be part of this logic. So here is my suggestion
|
@EligijusStarinskas you're right. Modified back:
And in Flow:
Essentially, just return Added a pull request to address this issue. |
👍 |
... Well this test fails now |
@EligijusStarinskas Looking at the test, what happens is that this change would disable the ability to set a different active I guess my initial change would be the way to go. |
Hi guys,
I'm facing a problem with
Flow(getView()).goBack()
method. This crash appears when I go to next screen and then press back button very fast (while animation is still in progress).I guess that the problem might be related to my cusom KeyChanger class implementation as
callback.onTraversalCompleted()
method is not called until animation is finished.I'm using the latest Flow version in maven (1.0.0-alpha).
Is this a bug or am I doing something wrong? Thanks.
The text was updated successfully, but these errors were encountered: