When the ListView is nested, the following error occurs: View too large to fit into drawing cache, listviewdrawing

Source: Internet
Author: User

When the ListView is nested, the following error occurs: View too large to fit into drawing cache, listviewdrawing

You can try to set ListView in the layout:

Android: scrollingCache = "false"
Or set in the Code:

SetScrollingCacheEnabled (false );




How does an android Listview nested Gridview display different data for each item Gridview in the Listview?

You cannot set different adapters for each GridvIEW when getvIEW is in the adapter of LsitView.

How does android Add a listview in listview? How can listview be nested? Provide detailed code,

I think you have gone into the misunderstanding. listview is inherently complicated. The underlying layer involves a lot of code for managing the UI. no matter whether the listview can be nested or not, even if the listview can be nested, this method certainly brings unimaginable complexity to the program. Do you still want to maintain your code?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.