Skip to content

Instantly share code, notes, and snippets.

@housemeow
Created November 2, 2014 11:09
Show Gist options
  • Save housemeow/0ead830cd31f8ff8756b to your computer and use it in GitHub Desktop.
Save housemeow/0ead830cd31f8ff8756b to your computer and use it in GitHub Desktop.
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