Allows to inject resource id , which avoid hard reference to R