title: How to make a Button clickable only once in a day
body: <p>i have a button through which a customer can claim his daily rewards. i want that button to be clicked only once a day. how could i do this?</p>
  
  <p>i have no idea how to achieve this functionality</p>
  
  <p>i know i can set it View.gone but i want it to be visible again next day.what should come in the on click of button to get one day time</p>
  
  <p>here is on click of my button what should i do?</p>
  
  <pre><code>@Override
  public void onClick(View v) {
      super.onClick(v);
      switch (v.getId()) {
      case R.id.creditClaimBT: {
  
          break;
      }
      }
  }
  </code></pre>
  
  <p>help would be greatly appreciated.  </p>