Afib is a beast! I struggled with for about 6 years. There are basically 2 different types, one of which is triggered by exercise and one of which is triggered when you relax after a stressful time or at night.
Fortunately, mine wasn't a problem when I exercised. But to go along with it, and not associated with afib in any way, they discovered I had a deformed aortic value. I was born with it and it worked fine through years of basketball, running and biking. They only found the valve because of all the tests they did trying to figure out why a generally healthy guy had afib.
All of us who engage in endurance sports have a much higher incident of afib than the sedentary population. I sort of understand it from a technical standpoint, but suffice it to say it is a statistical certainty that long term endurance activities greatly increase your chances of getting afib.
They completely fixed mine with an open heart surgery procedure known as a Maze procedure. They literally create scar tissue on your heart wall to prevent errant electrical signals from causing afib. Of course, open heart surgery is a bit extreme to fix an occassional afib problem, but I got a kind of throw in when they opened me up to replace the valve and to fix an aneurism related to the valve. 2 1/2 years after surgery, I am afib free, hopefully forever.