fragment tag

65 questions


1 answers
140 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
84 views
0
Definition location of android toolbar

When you use multiple fragments for one activity, you sometimes want to use different toolbars for each fragment. Only one toolbar is defined in activity, and how to customize and write in each fragme...

2 years ago

2 answers
108 views
0
(Android) GetActivity() in Fragment.StartActivityForResult to pass values to Activity

I put a fragment called B on top of the activity called A.In the fragment B getActivity().Use startActivityForResult() B(fragment)->A(activity)->B(fragment) again.There is a problem here, and ac...

2 years ago

1 answers
89 views
0
Is there a way to replace from FragmentTabHost on Android to Fragment that is not added to tab?

With Yongwook's advice, we changed the tab structure that was manually implemented to tabHost.But I was wondering if there is a way to change it to a fragment that has not been added to the tab, but I...


2 answers
80 views
0
Additional questions about extensions in Fragment

public abstract class AbstractDataInterface : DataInterface { public static int SEND_TO_LAYER1 = 0, SEND_TO_LAYER2 = 1, SEND_TO_LAYER3 = 2, SEND_TO_LAYER4 = 3, SEND_TO_DATA = 4, SEND_TO_PROC = 5; publ...

2 years ago

3 answers
115 views
0
Can you make it like this?

To be honest, I think it's easy to make this shape.The problem is that I want to put a button in that window and move on to another fragment or activity when I press the button.Currently, the way to m...


1 answers
47 views
0
How do I run Android Fragment on Attach()?

After looking at the life cycle of the fragment, we override all on~~() functions and output them to Log.d., but onattach () is not seen as log.OnAttach() callback method is called after the fragment ...

2 years ago

2 answers
89 views
0
Recyclerview in recyclerview

Hello, I received json data in recyclerview from a fragment and sprayed it, and when I clicked on the view, the Gone had view appeared below. By the way, I want to get json data in the view that appea...


1 answers
142 views
0
I want to pass the text from Maine to Fragment

I'm a beginner at coding. I made a tap layout using an adapter When I click the button on click, I want to hand over each character in Edittext to the tab page, but I don't know how. I found a way and...

2 years ago

1 answers
144 views
0
When you want to extend another class in Fragment,

public class Main_Title_Fragment : Fragment{ ImageButton _Back_Button, _Exit_Button; TextView _Title_Text; FragmentTransaction _Main_Menu_Fragment; FragmentManager _Back_Stack; public override void On...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.