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
Post a Comment