Rename generic class names
Closed this issue · 2 comments
EdmundLeex commented
Class names such as Video
, Image
, VideoCell
etc are too generice and very easy to have name collisions.
Can you prepend the library name and rename them into GalleryVideo
, GalleryImage
to avoid such an easy collision?
onmyway133 commented
@EdmundLeex Hi, we have the Gallery namespace, so you can specify like Gallery.Video, Gallery.Image, Gallery.VideoCell
. Does this work for you?
EdmundLeex commented
Actually, I ran into name collisions because I also have Video
and Image
classes. That's why it prompted me that these names are too generic. I am getting around it by prefixing my class names. But Something to consider. @onmyway133