if i need use a global class what is the best option and why?
public class Global {
    public static JSONObject GetJsonResquest(String url){
        ....
    };
}
and then call Global.GetJsonResquest(url) in my activity
OR
  public class Singleton {
    private static Singleton ourInstance = new Singleton();
    public static Singleton getInstance() {
        return ourInstance;
    }
    private Singleton() {
    }
    public JSONObject GetJsonResquest(String url){
      .....
    }
}
and then use via Singleton.getInstance().GetJsonResquest("Asd");
 
    