Code example for SimpleCursorAdapter

Methods: newView

0
        } 
 
        @Override 
        public View newView(Context context, Cursor cursor, ViewGroup parent)
        { 
            return super.newView(context, cursor, parent);
        } 
 
        String formatDateText(long milliseconds)
        { 
            return formatter.format(new Date(milliseconds));
        } 
    } 
 
    static class MockDataLoader implements SQLiteCursorLoader.TransactionRunnable 
    { 
        @Override 
        public void run(SQLiteDatabase db)
        { 
            final String[] bgColors = new String[] { "007ace", "ff3399", "ff9933" };
            final String[] textColors = new String[] { "ffffff", "ffffff", "000000" };