Implement onViewCreated event both iOS & Android.