title: Android convert listview to GridView
body: <p>The code below works fine in <code>ListView</code> and I spend a few days still got no idea how to convert it into GridView.  At first I try to replace <code>ListView</code> into <code>GridView</code> but failed.   Anyone can help please? </p>