@@ -0,0 +1,1051 @@
+package com.nestedworld.nestedworld.helpers.application;%0A%0Aimport android.content.Context;%0Aimport android.support.annotation.NonNull;%0A%0Aimport com.nestedworld.nestedworld.helpers.database.DataBaseHelper;%0Aimport com.nestedworld.nestedworld.helpers.service.ServiceHelper;%0Aimport com.nestedworld.nestedworld.helpers.session.SessionHelper;%0Aimport com.nestedworld.nestedworld.network.http.implementation.NestedWorldHttpApi;%0Aimport com.nestedworld.nestedworld.network.socket.implementation.NestedWorldSocketAPI;%0A%0Apublic final class ApplicationHelper %7B%0A    private ApplicationHelper() %7B%0A        //Private constructor for avoiding this class to be constructed%0A    %7D%0A%0A    public static void logout(@NonNull final Context context) %7B%0A        //remove user%0A        SessionHelper.deleteSession();%0A%0A        //avoid leak with the static instance%0A        NestedWorldHttpApi.reset();%0A        NestedWorldSocketAPI.reset();%0A%0A        //clean db%0A        DataBaseHelper.cleanDataBase();%0A%0A        //stop socketService%0A        ServiceHelper.stopSocketService(context);%0A    %7D%0A%7D%0A

add applicationHelper