`getRawId` might return `null`, please deal with this situation.