Created
November 2, 2014 11:09
-
-
Save housemeow/0ead830cd31f8ff8756b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void ShowStickyPad1() // 在View有一個Not的邏輯,語意是Is Not Show | |
{ | |
if (!IsShow()) | |
{ | |
ShowStickyPad(stickyPad); | |
} | |
} | |
public void ShowStickyPad2() | |
{ | |
if (IsHide()) | |
{ | |
ShowStickyPad(stickyPad); | |
} | |
} | |
public boolean IsShow() | |
{ | |
return _isShow; | |
} | |
public boolean IsHide() | |
{ | |
return !isShow(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment