Tabbed activity

I am wondering what is the recommended way for achieving a tab fragment activity (supporting swipes) like the picture bellow. I mean, what should I extend and for the Listener, what kind of listener do I need to implement? Sorry for probably the silly question, but I am following a tutorial what uses ActionBarActivity and ActionBar.TabListener, which have been deprecated and now I am looking for a way how to replace them with something else.
Thank you in advance for your suggestions!

enter image description here

Source: android

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.