tags:

views:

56

answers:

1
public class ImageAdapter extends BaseAdapter {
    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?

+2  A: 

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 amuse that the context is saved in the Adapter to load Images later in the progress.

Janusz