fragment tag

65 questions


2 answers
107 views
0
Question when passing the value from the main to the fragment.

The main sent a String value to the second screen through the int. On the second screen, three tabs and a viewfager are used, and each tab is made up of fragments.However, when you click a button on t...


1 answers
115 views
0
I made Tab Bar using Fragment on Android, but there was an error, so I'm asking you this question.

public class MainActivity extends AppCompatActivity { Toolbar toolbar; Fragment fragment1; Fragment fragment2; Fragment fragment3; @Override protected void onCreate(Bundle savedInstanceState) { super...


1 answers
114 views
0
[Android] I want to change the screen using fragments in the navigation drawer.

public boolean onNavigationItemSelected(MenuItem item) { // // Handle navigation view item clicks here. int id = item.getItemId(); Fragment fragment = null; String title = getString(R.string.app_nam...

2 years ago

1 answers
112 views
0
I have a question for Android fragment.

What is the TAG factor used to replace the fragment?If it is right to find the above fragment with FindFragmentByTag, can I find the removed fragment as well?I think it doesn't seem to be a problem if...

2 years ago

3 answers
145 views
0
Value forwarding question to fragment.

Currently, it consists of EditText and search buttons on one screen, three tabs, and a viewfager, each tab being a fragment. If you press search, you want to send the value that comes with json parsin...


1 answers
120 views
0
Change the text color of the menu when selecting an Android fragment

https://github.com/neokree/MaterialTabsWhat I want to implement is like the commonly used library Materialtabs.It would be convenient to use the library, but I'm thinking about learning to implement i...

2 years ago

1 answers
125 views
0
I have a question for Android Fragment.

I use Volley and Gson to get the data.I want to transfer the data I received from the main activity to the Fragment containing ViewPagerI put data as Budle in Viewpager Fragment and receive it as getA...

2 years ago

1 answers
127 views
0
When I use the Android Studio navigation drawer, I can't use the fragment

This is a copy of foreigners' YouTube12This was done by a Korean, but I kept getting stuck in that part Strangely, it doesn't pop up. What's wrong with you?

2 years ago

2 answers
120 views
0
Modularization within the fragment...

If you do the fragment module and run it, it turns off when you run the app in Emule What is the error?public class ChannelBuskerSchedule extends Fragment {int test__schedule=5;public ChannelBuskerSch...


1 answers
174 views
0
How can I display Recycler view in Fragment?

Hello~~ I'm a beginner who just started learning how to make an app..The app I'm planning is composed of several fragments in one MainActivity.I'm stuck in thinking of one of the Fragments, UserFragme...

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.