Search in sources :

Example 1 with RefWatcher

use of com.squareup.leakcanary.RefWatcher in project CoCoin by Nightonke.

the class CustomViewFragment method onDestroy.

@Override
public void onDestroy() {
    super.onDestroy();
    RefWatcher refWatcher = CoCoinApplication.getRefWatcher(getActivity());
    refWatcher.watch(this);
}
Also used : RefWatcher(com.squareup.leakcanary.RefWatcher)

Example 2 with RefWatcher

use of com.squareup.leakcanary.RefWatcher in project CoCoin by Nightonke.

the class MonthViewFragment method onDestroy.

@Override
public void onDestroy() {
    super.onDestroy();
    RefWatcher refWatcher = CoCoinApplication.getRefWatcher(getActivity());
    refWatcher.watch(this);
}
Also used : RefWatcher(com.squareup.leakcanary.RefWatcher)

Example 3 with RefWatcher

use of com.squareup.leakcanary.RefWatcher in project RxJava-Android-Samples by kaushikgopal.

the class BaseFragment method onDestroy.

@Override
public void onDestroy() {
    super.onDestroy();
    RefWatcher refWatcher = MyApp.getRefWatcher();
    refWatcher.watch(this);
}
Also used : RefWatcher(com.squareup.leakcanary.RefWatcher)

Example 4 with RefWatcher

use of com.squareup.leakcanary.RefWatcher in project CorePage by lizhangqu.

the class TestFragment1 method onDestroy.

@Override
public void onDestroy() {
    super.onDestroy();
    RefWatcher refWatcher = BaseApplication.getRefWatcher(getActivity());
    refWatcher.watch(this);
}
Also used : RefWatcher(com.squareup.leakcanary.RefWatcher)

Example 5 with RefWatcher

use of com.squareup.leakcanary.RefWatcher in project CorePage by lizhangqu.

the class TestFragment3 method onDestroy.

@Override
public void onDestroy() {
    super.onDestroy();
    RefWatcher refWatcher = BaseApplication.getRefWatcher(getActivity());
    refWatcher.watch(this);
}
Also used : RefWatcher(com.squareup.leakcanary.RefWatcher)

Aggregations

RefWatcher (com.squareup.leakcanary.RefWatcher)61 SharedPreferences (android.content.SharedPreferences)1 TelephonyManager (android.telephony.TelephonyManager)1 Gson (com.google.gson.Gson)1 GsonBuilder (com.google.gson.GsonBuilder)1 TypeToken (com.google.gson.reflect.TypeToken)1 DatabaseHandler (com.se491.chef_ly.Databases.DatabaseHandler)1 HttpConnection (com.se491.chef_ly.http.HttpConnection)1 RequestMethod (com.se491.chef_ly.http.RequestMethod)1 ShoppingListItem (com.se491.chef_ly.model.ShoppingListItem)1 IOException (java.io.IOException)1 Type (java.lang.reflect.Type)1 ArrayList (java.util.ArrayList)1