Home > Enterprise >  How can I use a dialogfragments input to create cardview in realtime the MainActivity
How can I use a dialogfragments input to create cardview in realtime the MainActivity

Time:12-28

I have created a Dialogfragment that takes the user's input for Name and number and saves them as strings. I wanted to know how can I use those two strings to create a card view as shown in the mockup below Cardview Mockup

I want it to be able to update itself whenever a new entry is made as a new card. How can I create it inside android studio ?

CodePudding user response:

User click on submit button then store these information in database and also call where the new data comes. When the new data comes then notify recycle view adapter

  • Related