android-viewpager tag

18 questions


1 answers
104 views
0
AndroidStudio Question) View Pager does not display Fragments on the screen.

viewpager and using tablayout toolbar swipe activity in the process of implementing a problem. Not the contents on the screen the fragment viewpager. Some worry, and I hope you will tell you you know ...


1 answers
121 views
0
Questions when implementing Android viewpager and tap functions

We are currently using the toolbar, tabs, and viewpager, and each is shown in the fragments. There are three tabs, and each time you turn over the screen, the data is being retrieved from the server. ...


1 answers
84 views
0
I don't want ViewPager to allow me to swipe with my fingers.

I have ViewPager on my app and there are 10 buttons. If you click the button, I want to go to the 4th page with mPager.setCurrentItem(3);. But first, I want to prevent you from swiping the page with y...


1 answers
153 views
0
Implementing tab button with ViewPager.

I implemented it in this way in the viewPager adapter @Override public Fragment getItem(int position) { Log.d(test,=====position==== + position); switch (position){ case 0: fragement a = new a();...


1 answers
114 views
0
I have a question about Android viewpager.

public class MainActivity extends AppCompatActivity {MovieDetailFragment movieDetailFragment;MovieInfoFragment movieInfoFragment;@Overrideprotected void onCreate(Bundle savedInstanceState) { super.onC...


3 answers
127 views
0
Question of passing values from the main of the viewfager to the fragment.

The main is currently using the View Pager tab layout toolbar. When you click Search here, you perform the SearchAsyncTask. Then, you want to get a long value from SearchAsyncTask's onPostExecute and ...


1 answers
117 views
0
If you replace the fragment in Android Fragment Transaction, the fragment life cycler is destroyed and onCreate, so can you control this part? Don't let the gc eat you (so that you don't destroy me)

Currently, we have implemented a tab, and we are drawing a frame on Frame Layout and a view as a replace with Fragment Transaction. Both fragments are bringing in items from the server call. Every tim...


1 answers
135 views
0
I have a question about Android viewpager.

If each item in the view phaser has the same layout, can we define only one fragment?What should I do?

« - 2 -

© 2024 OneMinuteCode. All rights reserved.