ADD week 5
This commit is contained in:
		
							
								
								
									
										27
									
								
								02-Easy5/E5/sources/androidx/transition/GhostViewUtils.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								02-Easy5/E5/sources/androidx/transition/GhostViewUtils.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| package androidx.transition; | ||||
|  | ||||
| import android.graphics.Matrix; | ||||
| import android.os.Build; | ||||
| import android.view.View; | ||||
| import android.view.ViewGroup; | ||||
|  | ||||
| /* loaded from: classes.dex */ | ||||
| class GhostViewUtils { | ||||
|     static GhostView addGhost(View view, ViewGroup viewGroup, Matrix matrix) { | ||||
|         if (Build.VERSION.SDK_INT == 28) { | ||||
|             return GhostViewPlatform.addGhost(view, viewGroup, matrix); | ||||
|         } | ||||
|         return GhostViewPort.addGhost(view, viewGroup, matrix); | ||||
|     } | ||||
|  | ||||
|     static void removeGhost(View view) { | ||||
|         if (Build.VERSION.SDK_INT == 28) { | ||||
|             GhostViewPlatform.removeGhost(view); | ||||
|         } else { | ||||
|             GhostViewPort.removeGhost(view); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     private GhostViewUtils() { | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user