Tom Mordon wrote:The thing is I have no idea what ClipData.Item is, I'm just trying to use Item.java since it defines the Item object I created. So yes I'm trying to use the Item.java which defines my Item object.
Then importing ClipData.Item wasn't the right thing to do. I expect you did that at an earlier stage when your
IDE told you it couldn't find an Item class and gave you a list of things which might be suitable, and you chose one at random from the list. Or something like that. Anyway you don't want to use ClipData.Item so don't import it.