My current project involves the use of a 3.7V LiPo battery. The battery compartment will also include the LiPo charger, now I am wondering what is the best method of including a slide switch so that I can switch the flow of current when charging the battery and when I actually want to use the device. The battery and charger I am using are in the links below.
there are many ways to connect a switch. you need to be more specific and include some design parameters. Usually installation goes like: solder it and somehow affix it to the enclosure with hot glue, super glue, screws, duct tape or other.
Are you incorporating the charger into the assembly? There is no need to switch the connection from charger to battery as the charger is designed to leak less than 2µA with no supply input, so you do not need a switch for that.
You only need a switch to switch off your Arduino when you do not want to operate it, so a SPST in the positive battery line will be just fine. The charge voltage will never exceed 5V, so you can operate it if you want to while it is charging, unless any of your peripherals are not tolerant of 4.2V.
Are you referring to a SPDT switch and not a DPDT? From your description it sounds like that's what it is
Also, if I were to use a SPDT switch and connect it as suggested by drksam, when positioned to the charge mode, it would power off the arduino and even if I'm not charging the battery, the set up would be fine thus I would not need to use a SPST switch?