3 new methods, 1 bug (I think) and some code simplification

Add some new methods inside GridView and BaseAdapterWrapper. Also fix minor bug and simplify some code.