public class ImageAdapter extends 开发者_如何学CBaseAdapter {
private Context mContext;
public ImageAdapter(Context c) {
mContext = c;
}
Here in this code,what does this Context means and what is the purpose of using this?
Context is an abstract Class that is used to access system resources like the network connection, or the file system or a database. In this case I would asume that the context is saved in the Adapter to load Images later in the progress.
精彩评论