---
title: "Different content in the tabs"  
description: "Different content in the tabs"  
author: "Anonymous User"  
published: 2014-11-16  
updated: 2014-11-17  
canonical: https://www.mindstick.com/forum/12599/different-content-in-the-tabs  
category: "android"  
tags: ["java"]  
reading_time: 1 minute  

---

# Different content in the tabs

I'm using [this](https://github.com/astuetz/PagerSlidingTabStrip) [android studio](https://www.mindstick.com/blog/10942/android-studio-vs-eclipse) [project](https://www.mindstick.com/articles/105927/how-to-excel-at-managing-multiple-projects), but I didn't know how to change [content](https://www.mindstick.com/articles/13019/get-the-best-content-marketing-pricing-packages-for-your-brand) there.For example, I want to have a [text](https://www.mindstick.com/blog/301635/did-people-reinvent-texting-to-express-the-full-range-of-emotions) "[Hello World](https://www.mindstick.com/forum/12912/how-to-show-hello-world-backbone-marionette-js)" in the first tab, the text "Goodbye..." in the [second](https://answers.mindstick.com/qa/41761/how-did-the-second-industrial-revolution-influence-women-s-roles-in-society) tab and so on... Can you help me?

## Replies

### Reply by Anurag Sharma

Did you try anything? There is a sample folder where you can find an example. In the first file I opened, which is MainActivity.java, there is a class called MyPagerAdapter, with the following line:

private final String[] TITLES = { "Categories", "Home", "Top Paid", "Top Free", "Top Grossing", "Top New Paid", "Top New Free", "Trending" };

Seems to me you can change that to

private final String[] TITLES = {"Hello [world](https://yourviews.mindstick.com/view/87468/defining-humanity-as-given-in-sanatan-dharma-best-in-world)", "Goodbye..."};

If that doesn't work you do have a valid question, but in this case you should have checked the sample first. Literraly took me less than a minute to find.


---

Original Source: https://www.mindstick.com/forum/12599/different-content-in-the-tabs

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
