GoogleCloudPlatform / gradle-appengine-templates

Freemarker based templates that build with the gradle-appengine-plugin
438 stars 205 forks source link

pair is not resloved in AsyncTask #70

Open patelvishal1401 opened 8 years ago

patelvishal1401 commented 8 years ago

Here is problem

this is class

class EndpointsAsyncTask extends AsyncTask<Pair<Context, String>, Void, String> {

Give error like pair is not resloved

redbassett commented 8 years ago

You need it import it:

import android.util.Pair;

If you are using an IDE with auto-import turned on (Settings > Editor > General > Auto Import in Android Studio), it should handle the import for you correctly by default.