Store User Input Text in array and display it in A ListView Android

preview_player
Показать описание
Store User Input Text in array and display it in ListView with ArrayList and ArrayAdapter
Android And Java

Рекомендации по теме
Комментарии
Автор


Which covers the following topics

1. Store user input in an array and display it in a list view
2. Persist the list using shared perferences
3. Display the list in another activity

QuickTuts
Автор

hours of searching and the answer was here....u r hero brother

aestheticlifenezuko
Автор

Thanks for the video, but i think the variable names can be improved better. Since people who watch this mostly beginner in android developing, i think you should give good example about variable names that will represent the real object without any confusion. So, they can develop a good basic. In big projects, it will be a good practice, so other developers can easily read and change the code without too much effort to understand and guest about the method/variable name.

HendraWijayaDjiono
Автор

thanks for your good work and short and clear Example, it works well.

joha
Автор

Thank you very much, I was searching for this since two days

thidasinduwaraweerathunga
Автор

i was finding this thing on stack over flow but i was not getting my answer.. it helps me. thanks.

techcoderacademy
Автор

Thank you for Both the code and Songs :D Appreciated

mikkiemacify
Автор

thank you .. this is help me but i have a little advice : modify your title

saleemaljbareen
Автор

Very nice job. Inside the else body, there is no reason to create another EditText object to set the text, as you have already created an EditText variable named "txt." Also, you put a space between the quotation marks in the setText method, which will add an invisible (and unnecessary) space in the Edit Text box.

brittslayer
Автор

How to do the same if we have the list view in a new second activity ?

taruntalreja
Автор

Thanks bro, But how can I add new items to top of ListView first.
I guess it should be simple, maybe one line of code.

clementmuhirwa
Автор

Next time, no music. Now I have to mute YouTube, only having to unmute it for the next video, which sucks.

GrumpyOldMan
Автор

is the items that you key in still saved after you exit the

saiko
Автор

this is great. But, how will I going to store user input text in array and display it in listview with arraylist which is in another activity?

paulomulawin
Автор

HI. It works, but how to store that data permanently?

NIRAVGOHEL
Автор

This is so amazing video but when we exit app and again open then our list is empty how we permanently added name in the list please tell

deependrachauhan
Автор

How can I save the list items using sharedPreferences?

rafaelalopes
Автор

how to do the same operation using recyclerView

vedeshhegde
Автор

Im so confused at how to write those 2 signs after the word "null "

vincentfallen
Автор

tanx, bro can u give the name of song that' s you used in this tutorial

FURRY_MDMASUM-ljzp