Code example for ContentValues

Methods: size

0
            mTextDataId = 0;
            mCallDataId = 0;
        } 
 
        boolean isLocalModified() { 
            return mTextDataValues.size() > 0 || mCallDataValues.size() > 0;
        } 
 
        void setTextDataId(long id) {
            if(id <= 0) {
                throw new IllegalArgumentException("Text data id should larger than 0");
            } 
            mTextDataId = id;
        } 
 
        void setCallDataId(long id) {
            if (id <= 0) {
                throw new IllegalArgumentException("Call data id should larger than 0");
            } 
            mCallDataId = id;
        }