Skip to content

feat: overhaul and streamline Android page navigation transitions #7925

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

Merged
merged 12 commits into from
Oct 15, 2019

Conversation

ADjenkov
Copy link
Contributor

@ADjenkov ADjenkov commented Oct 9, 2019

Extract TabFragmentImplementation in tab-navigation base for both tabs and bottom navigation
@ADjenkov ADjenkov self-assigned this Oct 9, 2019
@cla-bot cla-bot bot added the cla: yes label Oct 9, 2019
@ADjenkov ADjenkov force-pushed the djenkov/animations-overhaul branch from 2b3631d to 99f477c Compare October 9, 2019 08:01
@ADjenkov ADjenkov force-pushed the djenkov/animations-overhaul branch from d79fadd to d17e710 Compare October 10, 2019 10:28
@SvetoslavTsenov SvetoslavTsenov force-pushed the djenkov/animations-overhaul branch from d17e710 to da2e8a8 Compare October 10, 2019 10:51
@SvetoslavTsenov
Copy link
Contributor

test --ignore tests_app_transitions api23 ios12

@ADjenkov
Copy link
Contributor Author

test --ignore tests_app_transitions api23

@ADjenkov
Copy link
Contributor Author

test --ignore ngapps_android animations_android api23 api28

@ADjenkov
Copy link
Contributor Author

test --ignore ngapps_android#djenkov/comment-tests api23 api28

const bitmap = android.graphics.Bitmap.createBitmap(view.getDrawingCache());
view.setDrawingCacheEnabled(false);

return bitmap;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this return null? Would new android.graphics.drawable.BitmapDrawable(appResources, null) throw an exception?

}

private loadBitmapFromView(view: android.view.View): android.graphics.Bitmap {
// Another way to get view bitmap. Test performance vs setDrawingCacheEnabled
Copy link
Contributor

Choose a reason for hiding this comment

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

Unify with the other implementation

@ADjenkov
Copy link
Contributor Author

test --ignore tsapps_android tscapps ngapps_android api23 api28

@ADjenkov ADjenkov merged commit 08e23bc into master Oct 15, 2019
@ADjenkov ADjenkov deleted the djenkov/animations-overhaul branch October 16, 2019 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants