I have the same issue
One on one I have no attention issue. Sitting in the classroom setting, depending on the subject. If I like it I have no problems with attention. If I dont like I do. I think I have ADD. Speaking from personal experience. This doesn't bother me to be a good student. It does bother me in some areas.