Solved this problem.
i’m inserting the newly added value into the database but not depending on the database to retrieve and display it but i created new textview and i’m directly getting the text from edittext and setting it to new textview that i created and displaying it.it worked 🙂
solved Not able to display updated values from the database in android