How to Make Android Apps 3 Android ListViews

[ad_1]
Get the Code Here :

Part 1

In this part of the tutorial I’ll cover Android ListViews, ArrayAdapters, Custom Array Adapters, ListAdapter, LayoutInflator, ImageView, and a great deal about terminology that confuses people.

Android Development for Beginners :

Install Android Studio :

Best Android Book :


Posted

in

by

Tags:

Comments

29 responses to “How to Make Android Apps 3 Android ListViews”

  1. Tech On Screen Avatar

    you know what , you are the best tutor for everything on you tube

  2. Santiago R Avatar

    Tons of info here, thanks again Derek!

  3. Abdul Qadeer Bilal Avatar

    u have done more than just awesome <3 <3
    i have coded exactly the same like you . .but when i use custom adapter at the place of arrayadpater my application crashes . . plz help me out

  4. Aman Pratap Singh Avatar

    NAMASTEY /
    Can you make Android in one video?
    I love that series because it helps us revise

  5. Shahood ul Hassan Avatar

    Has anyone ever used this with a row layout having EditText? I have a row layout with 2 TextView and 2 EditText. I've applied OnTextChangedListener on these EditText view to performs set of code whenever the text in these edit fields is changed but what I noticed is that the date fed into any of these fields starts to appear in other rows randomly while scrolling. Would be relived if anyone could provide a solution to that.

  6. Best Tennis Avatar

    Great Video Derek. Question.. I would like the listview data to read from a sql table. So in ListAdapter theAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1,
    favoriteTVShows);.. Should I change favoriteTVShows to my table name?? New to Android…. thxs

  7. Jitender Rawat Avatar

    Hey Derek, me again. Can you please take some time out of schedule to make a tutorial on how to create a multiple answer quiz app? Your videos have been of great help. But being completely naive to programming and android, i have lots of questions..can i ask you via mails? Or anyother way?

  8. Mrcka mrcisiso Avatar

    Is there any explanation about Adapters? I can't seems to understand, how to use adapter and what to do ?

  9. Reza Elahi Avatar

    For some reason if I don't add R.id.textView into the adapter declaration, the app crashes.

    here's the whole thing:
    ListAdapter namesAdapter= new ArrayAdapter<>(this,R.layout.row_layout_2,R.id.textView,arrayNames);

    here's the highlighted version
    ListAdapter namesAdapter= new ArrayAdapter<>(this,R.layout.row_layout_2,*R.id.textView*,arrayNames);

    And this is the error that I get:
    java.lang.IllegalStateException: ArrayAdapter requires the resource ID to be a TextView

  10. element74 Avatar

    What does "?" mean inside of AdapterView<?>

  11. Abeltensor Avatar

    going through he tutorial reminds me how much I dislike java. really wish android studio had better clojure support.

  12. lennert hofman Avatar

    Do you have a tutorial/video/explanation about recyclerview?
    I need to make the '2048' app for scool using a recyclerview with gridlayout.

  13. Maharsh Mangal Avatar

    Quick question.. How do you make your app more searchable? I mean is there anything like when you put hashtags on your Instagram posts?

  14. Islarf Avatar

    Why can't you be a lecturer in my college xD xD

  15. Maharsh Mangal Avatar

    My app keeps crashing! Upon looking in logcat it's showing Java.lang.outofmemoryerror and a runtime exception! Any help?

  16. abilash chakaravarthy Avatar

    my emulator crashes every single time ,is there any way to make it run properly

  17. ManecasSkate Avatar

    A college friend told me to search for you in order to learn android, because i was having a few difficulties. Right now everything is becoming more clear. I'm amazed at your skills and professionalism. Thanks for all the videos.

  18. Perhpethua Nikolina Avatar

    hey derek, i've been watching your tuts, and you are the best. Thank you. 🙂 Im searching how to parse json array data and display it in listView.. for some reason im failing somewhere. I managed to show parsed data in textView. If you could help that would be great.

  19. FarryEntertainment Avatar

    How do I copy the text from the example code without all the line numbers getting copied as well?
    When I copy stuff the line numbers 01, 02, 03 etc get copied as well.

  20. FarryEntertainment Avatar

    8:23 adapterView. It says it cannot resolve symbol 'adapterView'.

  21. KVP Nha Avatar

    I want user to click on the name and it will pop up another activity.
    Can we do that?

  22. Lucas Nordmeyer Avatar

    I used this to model my own custom adapter but for some reason I keep getting a null pointer exception when I try to create TextViews in the getView method. Any insight?

  23. David Avatar

    For all of you who are getting an error stating "You must supply a resource ID for a TextView" do this:

    Replace
    listAdapter = new ArrayAdapter<String>(this, R.layout.row_layout,
    playerNames);
    With
    listAdapter = new ArrayAdapter<String>(this, R.layout.row_layout,
    R.id.textView1, playerNames);

    Cheers!

  24. DeSire TANISH Avatar

    Thx man it helped me alot

Leave a Reply

Your email address will not be published. Required fields are marked *