gridview - ViewStub inflate consumes a lot of memory (android) -


i using viewstub in gridview custom adapter programatically sets layout id , calls 'inflate' on viewstub. problem is, have bg service on timer updates values set in 1 of inflated layouts via 'notifydatasetchanged' on adapter. after while, background process crash because it's running out of memory. i've confirmed layout inflater, because if comment out call hits that, backgrhoud service keep on running without crashing.

any ideas?


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -