As per my understanding you need to implement a spinner in an existing project which is having 3 static value and each value carry a different path for logging.
First thing as per my understanding you can't make Base URL dynamically because it's constant class.
Now coming to your point if I understand you correctly, you can get URL on spinner item select in logging activity and if logging result is success then save URL value in Sharedpreference so that you can get this value in all your activity from Sharedpreference.
Remember this will get you only one path.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…