I have some questions regarding Cursor
.
I want to know what are the disadvantages of not closing a Cursor
?
It deallocates resources, but what resources are deallocated?
If we do not close the Cursor
? What will be the consequences and to what extent?
Not closing a Cursor
does not affect Activity
a bit, but it gives error in a log cat.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…