First fragment is a splash Screen With a 5-second count down and Shows a Native ad on top
The second fragment makes the above API call and shows the title and thumbnail of the images in a Recycler view
On Click of Recycler view item the data class is transferred to the Third fragment using safeArgs by showing the title with image on Full-screen Fragment with share Image Option on other apps and showing banner ad at the bottom of the screen
Showing interstitial Ad on Every Fragment Change
In the Last and 4th Fragment Exit App option with Two buttons Go back and Exit options are being shown,
on exit option App will be exit, and on the go back the app will move to Recycler Fragment
Like this project
Posted May 14, 2025
Implemented Google Ads in a native Android app with multiple fragments.