i need a code that will let me change between views in stack layout with a transitions (an example code) please help me!!!!!

i'm new to this