I am trying to set context for easytracker before using it in my on create method as :
Context context= this;
EasyTracker.getInstance().setContext(context);
But getInstance is needing a context and when I call setContext, it becomes red-underlined saying "The method setContext(Context, ParameterLoader, ServiceManager)
in the type EasyTracker
is not applicable for the arguments (Context)
".
I want to set context for easytracker to track my button clicks.