Skip to content

Conversation

@brentvatne
Copy link

No description provided.

@brentvatne brentvatne changed the title Add splash screen Add splash screen, preload images, use native driver Mar 6, 2017
};

type State = {
hasScrolled: boolean,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this being used for? I couldn't see an obvious purpose for tracking it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately there is a bug in native scroll driven animations that hasn't been resolved in 0.41 (which exponent is currently using) and it causes the values to not be properly initialized, so I used this as a work around

<View style={styles.spacer} />

<ListView
<AnimatedListView

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this is Animated?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because it uses a native animated event, it needs to be

@cem2ran cem2ran merged commit 8024851 into cem2ran:exponent Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants