BaseAdapter or ArrayAdaptor - Android -


I am going to create a grid of images and I'm trying to figure out whether the array adapter or baseadapter While using it, stores data in an array, it uses the bassetor instead of an array adapter. I am curious that this is why I have seen one thing about an ArAidAptter, that its creator takes a textViewResourceId for an unknown reason - though the documentation says that getView has it If you want a certain grid of pictures for the menu, then what category would you recommend to choose from?

Depending on what model data is usually, you choose your adapter class. If you have ArrayList objects, then use ArrayAdapter . If you have cursor with a database query, use a cursor adapter . The BidAdapter can be used for anything, but it requires more coding, because there is no intuitive knowledge to override the data.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -