-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Conversation
Extract TabFragmentImplementation in tab-navigation base for both tabs and bottom navigation
2b3631d
to
99f477c
Compare
d79fadd
to
d17e710
Compare
d17e710
to
da2e8a8
Compare
test --ignore tests_app_transitions api23 ios12 |
test --ignore tests_app_transitions api23 |
test --ignore ngapps_android animations_android api23 api28 |
test --ignore ngapps_android#djenkov/comment-tests api23 api28 |
...modules-widgets/android/widgets/src/main/java/org/nativescript/widgets/CustomTransition.java
Show resolved
Hide resolved
...modules-widgets/android/widgets/src/main/java/org/nativescript/widgets/CustomTransition.java
Outdated
Show resolved
Hide resolved
...modules-widgets/android/widgets/src/main/java/org/nativescript/widgets/CustomTransition.java
Outdated
Show resolved
Hide resolved
tns-core-modules/ui/bottom-navigation/bottom-navigation.android.ts
Outdated
Show resolved
Hide resolved
tns-core-modules/ui/bottom-navigation/bottom-navigation.android.ts
Outdated
Show resolved
Hide resolved
...modules-widgets/android/widgets/src/main/java/org/nativescript/widgets/CustomTransition.java
Outdated
Show resolved
Hide resolved
...modules-widgets/android/widgets/src/main/java/org/nativescript/widgets/CustomTransition.java
Show resolved
Hide resolved
...modules-widgets/android/widgets/src/main/java/org/nativescript/widgets/CustomTransition.java
Show resolved
Hide resolved
const bitmap = android.graphics.Bitmap.createBitmap(view.getDrawingCache()); | ||
view.setDrawingCacheEnabled(false); | ||
|
||
return bitmap; |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
test --ignore tsapps_android tscapps ngapps_android api23 api28 |
Tracking issue