title: How to check if a button is clicked or not?
body: <p>I have a Activity in android that has 4 buttons.
  The first 3 buttons fetches a json data from a weather API for 1 day, next 5 days and next 10 days respectively.</p>
  
  <p>I have a 4th button placed at the bottom of the screen, which takes user to second activity.
  I want to restrict the entry of user to second Activity if no button from top 3 is clicked.</p>
  
  <p>If the data is fetched, I mean any one of the top 3 buttons have been clicked, allow him to go to second activity on 4th button click else show a message.</p>
  
  <p>How can i check on click of 4th button if any of the top 3 buttons have been clicked before?</p>
  
  <p>Thanks</p>