How to make ListView super fast

This might be the most asked question. How a listview can be made faster/smoother is really all about optimizations of the code.

You should probably always use a Holder class not to findViewById in every getView call. According to a google IO thingy, this would slightly increase the performance of your ListView.

Of course, do not forget to use the logic: if(convertView == null) then (convertView = new InflatedView). Then intialise everything in convertView... bla bla bla.

However, today I got a +1 on one of my answers on stackoverflow. I gave away a small hack.
public long getItemViewType(int position) {
     return position;
public long getViewTypeCount(int position) {
     return getCount();
public View getView(int position, View convertView, ViewGroup arg2) {
    if (convertView == null) {
        //inflate your convertView and set everything
    //do not do anything just return the convertView
    return convertView;

I found out that I had a small typo: I fixed that. Anyway, I would like to give this away and it would really be nice to tell me if this does not work with you.
The hack is simple: I give each view its own view type, and, therefore, I force the ListView to do the whole caching on its own.


  1. this is shushCrappy code. :p

    1. I think I know who is this shushpicious body that commented.

  2. The best way to protect your expensive smartphone is by using a case.
    It not only protects your phone from damage due to accidental drop, but also imparts beauty to your phone.
    Here are some of the best and exclusive cases for you.
    You can check them out and select one for your phone Galaxy S8 TPU Cases

  3. Best Android phones are as good as the other Smartphones on the market. oukitelcentral

  4. At the point when the engineers make custom UI interfaces in their own particular manner, the applications don't look or capacity reliably crosswise over various gadgets. from this source

  5. I simply could not depart your web site prior to suggesting that I extremely enjoyed the standard info a person provide on your guests? Is going to be again often in order to check out new posts

  6. Exceptionally helpful post. This is my first time i visit here. I discovered such a variety of fascinating stuff in your web journal particularly its exchange. Truly its extraordinary article. Keep it up. App Valley

  7. Features Of Gamecih Download Steps To Install GameCIH APK.

  8. Thank you for posting such a great article! I found your website perfect for my needs
    Read More

  9. Read the information you share, it is very helpful for me. Hope I will learn more interesting information on your blog.
    Dịch vụ: vận chuyển ô tô giá rẻ, dịch vụ bốc xếp, dịch vụ ship cod, vận chuyển xe máy bắc nam, cho thuê xe tải, vận chuyển container,... Đang được proship cung cấp tới quý khách hàng với chất lượng uy tín, giá cả canh tranh nhất thị trường hiện nay.

  10. This comment has been removed by the author.

  11. Attend The Data Analytics Course From ExcelR. Practical Data Analytics Course Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Data Analytics Course.
    ExcelR Data Analytics Course

  12. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
    ExcelR data analytics courses


  13. Best Article buy Pain Pills online Excellent post. I appreciate this site. Stick with it! Because the admin of this web page is working, no doubt very quickly it will be well-known, due to its quality contents.This website was how do you say it? Relevant!! Finally, I’ve found something that helped me.
    Best Article buy Roxicodone online Excellent post
    buy Xanax online
    buy Oxycodone online

    Best Article buy Pain Medications online Excellent post. I appreciate this site. Stick with it! Because the admin of this web page is working, no doubt very quickly it will be well-known, due to its quality contents.This website was how do you say it? Relevant!! Finally, I’ve found something that helped me.

    buy Research Chemicals online

    buy Roxicodone online

    buy Cbd Isolate online

  14. Great job in giving the right content the reasonable clarification. The substance looks genuine with substantial data. Great Work

  15. I just wanted to inform you that the process of reviewing is quite difficult and can be described by every professional.

  16. It really doe work on my smartphone, many thanks to you. It really fastens my listview, be sure to continue and do more on this theme.

  17. GBInsta is the Android application which will help the users to download Instagram images, videos, and stories in just some clicks without external app.Click here to download

  18. Marijuana—also called weed, herb, pot, grass, bud, ganja, Mary Jane, and a vast number of other slang terms—is a greenish-gray mixture of the dried flowers of Cannabis sativa.

    The main active chemical in marijuana is THC (delta-9-tetrahydrocannabinol), the psychoactive ingredient. The highest concentrations of THC are found in the dried flowers, or buds. When marijuana smoke is inhaled, THC rapidly passes from the lungs into the bloodstream and is carried to the brain and other organs throughout the body. THC from the marijuana acts on specific receptors in the brain, called cannabinoid receptors, starting off a chain of cellular reactions that finally lead to the euphoria, or "high" that users experience. Feeling of a relaxed state, euphoria, and an enhanced sensory perception may occur. With higher THC levels in those who are not used to the effects, some people may feel anxious, paranoid, or have a panic attack.
    Cannabis plant used for medical or recreational purposes. The main psychoactive part of cannabis is tetrahydrocannabinol, one of the 483 known compounds in the plant, including at least 65 other cannabinoids. 
    buy real weed online
    how to buy weed online
    buy legal weed online
    buy recreational weed online
    buy weed edibles online
    can i buy weed online
    buy medical weed online
    buy weed online canada
    buying weed online reviews
    buy weed online legit
    buy weed online without medical card
    buy weed seeds online canada
    order marijuana online
    order marijuana seeds online
    how to order marijuana online
    order marijuana online without a medical card
    can you order medical marijuana online
    order marijuana online

  19. that's the great one. thanks for sharing this post with us.
    Trainz simulator Apk is one of the most amazing applications designed for players who love to play racing games. The simulator lets the user learn the method by which he can make his railway with full control. The game is amazingly designed with full controls feature. You can easily control the train tracks, railways, roads, designing of the plate-form and everything that you need to customize.
    visit and check

  20. It really dose work on my smartphone, many thanks to you. It really fastens my list view, be sure to continue and do more on this theme on Whatsapp.