Doubt with custom adapter
<p>i have a <code>ListView</code> for which i have made a custom adapter which extends the <code>BaseAdapter</code> class in android. 
this adapter gets events from a database which occur on the different days of a month.</p>

<p><strong>question</strong>
in the <code>getCount</code> method i am returning the the number of days in the specific month.
now some of the days may not have an event. my adapter will still want views for the all the days...
right now i am returning null when there is no event on a specific day. this is causing an execption.</p>

<p>how do i skip a view when there are no events on that day?</p>

<p>like in listactivity there is a textview that will be automatically shown when there is no data in the list (its id should be empty), can i do something of that sort in here?</p>
