Will the battery charge no matter the switch position... IT DEPENDS.
Most RVs without a big inverter are wired more or less like this
Battery---Fuse or breaker---Switch---Fuse panel and other breakers---Stuff
(Stuff is water pump furnace, Lights, Slides, and all the other "Stuff" that runs on 12 volts)
Some however are
Converter or Converter/Inverter-Fuse--Switch--Battery---Fuse--Panel--Stuff
Now the key word in both setups is SWITCH. That's the battery disconnect
How to tell how your RV is wired.
Step one.. With battery connected and RV unplugged turn on 12 volt light inside RV (Most any light will do) Now disconnecct. LIght goes off .. GOOD.. Re-connect and PLUG IN
Again disconnect. LIght goes off.. Battery and converter are on same side of switch and battery will charge
Light stays on.. Battery will NOT charge use a battery tender if you want charging when not connected