title: Get Android Bitmap Byte Count i (API level 18 - 28)
body: <p>I Wouldn't find out how to calculate <code>bitmap</code> <code>byteSize</code> for managing memory.</p>
  
  <p>I searched a lot but can't find the right and robust way to do this.</p>
  
  <p>I also heared about <code>getByteCount()</code> and <code>getAllocationByteCount()</code>(it persent on 19 and above) but isn't help me. If it Help me so How?</p>
  
  <p>is Their Robust way to get byte size of <code>Bitmap</code>.</p>
  
  <p>My <code>API Level</code> is <code>18 - 28</code></p>
  
  <p>Thanks. (this similar question asked 8 years ago but it doesn't help me)</p>