Please add the "open" keyword to your CircularImageView class, to be able to create a custom CircularImageView class.