Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's push fragment? #52

Closed
DanteAndroid opened this issue Mar 10, 2017 · 1 comment
Closed

What's push fragment? #52

DanteAndroid opened this issue Mar 10, 2017 · 1 comment
Labels

Comments

@DanteAndroid
Copy link

What does push mean? Does it mean add?
If so, I think to use the same name of official fragment API would be better.

@ncapdevi
Copy link
Owner

Yeah, I could see that, but push we chosen because these tabs act as stacks. Using add would be ambiguous as to the underlying data structure; is it adding to above the last fragment? Below the last fragment? In between fragments 4 and 5? By using Stack terminology of push, popandreplace` it's clear (assuming you're familiar with basic data structures) what exactly is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants