Since it's in the support library, you can simply include the library and use it. If you are referring to whether or not it can work with native Fragment instead of Fragment provided by the support library, it can.
It basically is just a decorator over a ListView or a ScrollView, you can follow the tutorial here: http://antonioleiva.com/swiperefreshlayout/