How to realize the function of sliding back to the previous page? Similar to an android phone

lgvl v8.0

i want to know how to realize function of sliding back to the previous page?
If someone has asked this question before, please post a link.