static variables -> object variables

This commit is contained in:
AdrianLxM 2017-08-17 21:34:30 +02:00
parent 5769915f8c
commit 5d6327bfaa
2 changed files with 21 additions and 21 deletions

View file

@ -33,16 +33,16 @@ import info.nightscout.utils.DecimalFormatter;
public class ProfileViewDialog extends DialogFragment { public class ProfileViewDialog extends DialogFragment {
private static Logger log = LoggerFactory.getLogger(ProfileViewDialog.class); private static Logger log = LoggerFactory.getLogger(ProfileViewDialog.class);
private static TextView noProfile; private TextView noProfile;
private static TextView units; private TextView units;
private static TextView dia; private TextView dia;
private static TextView activeProfile; private TextView activeProfile;
private static TextView ic; private TextView ic;
private static TextView isf; private TextView isf;
private static TextView basal; private TextView basal;
private static TextView target; private TextView target;
private static Button refreshButton; private Button refreshButton;
Handler mHandler; Handler mHandler;
static HandlerThread mHandlerThread; static HandlerThread mHandlerThread;

View file

@ -30,18 +30,18 @@ public class ProfileViewerDialog extends DialogFragment {
private static Logger log = LoggerFactory.getLogger(ProfileViewDialog.class); private static Logger log = LoggerFactory.getLogger(ProfileViewDialog.class);
private static TextView noProfile; private TextView noProfile;
private static TextView units; private TextView units;
private static TextView dia; private TextView dia;
private static TextView activeProfile; private TextView activeProfile;
private static TextView ic; private TextView ic;
private static TextView isf; private TextView isf;
private static TextView basal; private TextView basal;
private static TextView target; private TextView target;
private static View dateDelimiter; private View dateDelimiter;
private static LinearLayout dateLayout; private LinearLayout dateLayout;
private static TextView dateTextView; private TextView dateTextView;
private static Button refreshButton; private Button refreshButton;
static ProfileViewerDialog newInstance(long time) { static ProfileViewerDialog newInstance(long time) {
ProfileViewerDialog dialog = new ProfileViewerDialog(); ProfileViewerDialog dialog = new ProfileViewerDialog();