GwonHyeok/StickySwitch

Direction Use Static for memory managment

Ajimi opened this issue · 0 comments

Ajimi commented

I think you should use static variables instead of enum's

this will take around 1,112 bytes

public static enum Things {
    THING_1,
    THING_2;
};

Or you can have two static int which will take 128 bytes.

public static final int THING_1 = 1;
public static final int THING_2 = 2;