title: Programmatic Views how to set unique id's?
body: <p>I am creating in my app bunch of programmatic <code>View</code>s. As it appeared to be they all by default have the same <code>id=-1</code>. In order to work with them I need to generate unique id's. </p>
  
  <p>I have tried several approaches - random number generation and based on current time, but anyway there's no 100% guarantee that different Views will have different id's</p>
  
  <p>Just wondering is there any more reliable way to generate unique ones? Probably there's special method/class?</p>