I'm looking better way to use Mixpanel in my Android app, I set the public
public static MixpanelAPI mixpanel;
mixpanel = MixpanelAPI.getInstance(ctx, MIXPANEL_TOKEN);
Warning:(36, 12) Do not place Android context classes in static fields (static reference to `MixpanelAPI` which has field `mContext` pointing to `Context`); this is a memory leak (and also breaks Instant Run)
What is the best practice init mixpanel?