NIcd and Nimh charging is realtively the same and easily done , the problem is with charging li-ion so there compatibility will matter
Actually there is a problem is charging Nimhs with a Nicd fast charger. Nimhs are designed for much slower charging than Nicds can handle and Nicd and Nimh fully charged states are detected differently between the two charger types. Generally you can charge a Nicd with a Nimh charger, but not the reverse.
There are now chargers and chipsets that can handle pretty much every battery type out there now, including LiPo and LiOn, all with a single circuit.