Firebase Image slider source code android studio, Firebase ViewFlipper Android Studio,Android Studio Source Coding.

Firebase Image slider  source code android studio, Firebase ViewFlipper Android Studio,Android Studio Source Code


Step 1 - Connect Your Android Studio Project With Firebase Real Time Database First.

Firebase Image slider  source code android studio, Firebase ViewFlipper Android Studio,Android Studio Source Coding

Step 2- Edit Your Security Rules as Shown in below image. Make the read and write true.


Firebase Image slider  source code android studio, Firebase ViewFlipper Android Studio,Android Studio Source Coding


Step 3- Create Node Slider and then Subnodes Slider1,Slider2,Slider3,Slider4 .create title and url node in each slider. See the below image then you easily understand that how to creates nodes. Create the nodes Same to Same as it is shown in Below image.

Firebase Image slider  source code android studio, Firebase ViewFlipper Android Studio,Android Studio Source Coding


title- In title you have to write the title of your slides.
url - You have give the image-address in this. 

Step 4-  Paste the Below Dependencies in build.gradle.


Step 5-  Give the internet Permission in AndroidManifest.xml



Step 6-  Paste the Below code in activity_main.xml 

activity_main.xml


Step 7- Paste the below code in MainActivity.java

MainActivity.java



By Following All this Steps You can easily create the image Slider using firebase.

Firebase Image slider  source code android studio, Firebase ViewFlipper Android Studio,Android Studio Source Coding.




Post a Comment

1 Comments