How to set/change value while onCreate under TabLayout first Tab
<p>i have try a lot of example or tutorial on tablayout, all work fine 
(<a href="https://www.simplifiedcoding.net/android-tablayout-example-using-viewpager-fragments/" rel="nofollow">https://www.simplifiedcoding.net/android-tablayout-example-using-viewpager-fragments/</a>, <a href="http://www.androidbegin.com/tutorial/implementing-fragment-tabs-in-android/" rel="nofollow">http://www.androidbegin.com/tutorial/implementing-fragment-tabs-in-android/</a>)
but now i encounter 1 problem, which is i dont know how to set/change the TextView/ImageView while onCreate/onLoad</p>

<p>so far, what i able to do is, write all my code under onTabSelected, but this is not my solution because i cant show empty or static values on the 1st tab, then have to wait until click or slide again then only load the real data.</p>

<p>i'm sure it have a way or solution for my problem, can anyone share it to me (code/website)</p>

<p>or in order to have this Tab feature with viewpager contain recyclerview, Tablayout is not the right way to code, perhaps it have another more correct way to code.</p>