65 questions
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();...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
« | - 5 - | » |
© 2024 OneMinuteCode. All rights reserved.