Here, the hydrogel containing only the PAAm–SA dual network is referred to as IH. On the basis of IH, hydrogels with only MXene are called IHM, hydrogels with only AlPO
4 are called IHA, and the hydrogels with both MXene and AlPO
4 are called IHMA. The addition of “-H” or “-B” after the name denotes the presence of HMImCl or 1-butyl-3-methylimidazolium iodide (BMImI), respectively. Hydrogels containing both MXene, AlPO
4, and HMImCl are referred to as ACH. With Fourier transform infrared spectroscopy-attenuated total reflectance (FTIR-ATR) spectroscopy and x-ray photoelectron spectroscopy (XPS), we characterized ACH, IHA-H, IHM, and IH (Fig.
2A; XPS is shown in Fig.
S4 in supporting information). A detailed discussion in Note
S1 verifies the presence of these functional components in ACH. It can be hypothesized that there is a strong interaction between Ti
3C
2T
x and the hydrogel network, and a large number of hydroxyl groups on its surface form hydrogen bonds with the amino groups supplied by HMImCl, which enhances the mechanical properties of ACH. The large absorption peak at 1,658 cm
−1 is the stretching vibrational band of the carbonyl group, which is absent in IH and IHM due to the absence of HMImCl, suggesting that after solvent replacement, the ionic liquid enters the hydrogel system at a fairly high level. To further quantitatively evaluate the effects of functional materials on the electrical properties of ACH, we prepared the corresponding hydrogels by adjusting the mass fraction of different functional materials in IH. Figure
2B illustrates that the resistivity of the IHM shows a trend of decreasing from 22.55 to 18.24 Ω·m as the mass fraction of Ti
3C
2T
x increases. The conductivity of IHM treated with HMImCl and BMImI, respectively, shows a decreasing and then increasing trend, and the resistivity is lowest at a Ti
3C
2T
x mass fraction of 10 mg/ml (Fig.
2C). This is because that the effect of Ti
3C
2T
x in enhancing the electrical conductivity of IH is weaker than that of ionic liquids, and when the mass fraction of Ti
3C
2T
x is low, it is able to utilize the hydrogen bonding to enhance the displacement effect of ionic liquids, whereas with the increase of the mass fraction of Ti
3C
2T
x, it excessively occupies the position of ionic liquids in the cavities of the hydrogel network, which results in the diminution of the electrical conductivity of hydrogel. Figure
2D shows that the resistivity of IHA decreases from 23.55 to 22.37 Ω·m with increasing AlPO
4 mass fraction. However, the resistivity of IHA shows a marked decrease after ionic liquid replacement, and the resistivity of IHA treated with HMImCl decreased from 14.2 to 4.77 Ω·m, which was better than that of BMImI. After treatment with ionic liquids, the resistivity of IHA decreases more than that of IH because PO
43− induces a strong Hofmeister effect, which reduces the swelling rate of the hydrogel (Fig.
S5) and enhances the displacement of the ionic liquid (Fig.
2E). Comparison of the resistivities of IH, IHM, IHA, IHA-H, and ACH (Fig.
2F) indicates that the addition of PO
43− and treatment with HMImCl could enhance the ionic liquid solvent displacement using the Hofmeister effect, while the addition of an appropriate amount of Ti
3C
2T
x could reduce the resistivity of the hydrogel to an even greater extent (3.56 Ω·m). Finally, the rate of resistance change during stretching of IH, IHM, IHA-H, and ACH was characterized to investigate the effect of functional materials on the mechanical properties of hydrogels (Fig.
2G). IHM has a higher rate of resistance change during stretching because Ti
3C
2T
x is connected to the hydrogel network through hydrogen bonding, which will be displaced with the hydrogel deformation. The lower rate of resistance change of IHA-H is partly due to the fact that the Hoffmeister effect tightens up the hydrogel network and partly due to the fact that the electrical conductivity of ionic liquids has a smaller change with deformation.