fragment tag

65 questions


1 answers
151 views
0
Screen freezes when using a Yilmun on Android fragment on Create

public void on Create (Bundle saved InstanceState) { super.onCreate(savedInstanceState); preferences = getActivity().getSharedPreferences(PreferencePutter.PREF_FILE_NAME, Activity.MODE_PRIVATE); i...

2 years ago

1 answers
68 views
0
I wonder why Android Fragment is slow in the initial call. [Material door]

public class a { private static int[] idLayoutMenuButtonNumber = { R.id.idButton_a, R.id.idButton_b, R.id.idButton_c, R.id.idButton_d, R.id.idButton_e, }; public static Button[] idLayoutMenuButto...

2 years ago

1 answers
89 views
0
(Android) To call a function of activity called B in a fragment of activity called A

MainActivity (B) has these methods. Therefore, MainActivity is using it to call another Fragment screen. ContentListActivity(A) has a ContentListFragment screen, and B to A's Fragment is called. Howev...


1 answers
92 views
0
Invoke another layout view from a fragment

activity_main.xml<android.support.design.widget.AppBarLayout android:layout_width=match_parent android:layout_height=wrap_content android:theme=@style/AppTheme.AppBarOverlay> <android.support...

2 years ago

1 answers
123 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. ...


2 answers
78 views
0
Android fragment back button event detection?

From the fragment now Opening another fragment with addToBackStack(null);Pressing the back button in this state returns you to the original fragment What I want to do is addToBackStack(null); When I o...

2 years ago

1 answers
78 views
0
To pass the fragment value in activity.

I understand that activity uses Bundle, not int, to transfer fragment values.(String value and image value go over and you have to pass it over. )Please explain in more detail. First, explain the sauc...


1 answers
95 views
0
The app does not run on the emulator. Please check the logcat

2019-05-19 20:55:58.007 16031-16031/com.example.restaurant_app E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.restaurant_app, PID: 16031 java.lang.RuntimeException: Unable to start activ...

2 years ago

1 answers
108 views
0
I have a question about delivering

In the main activity @Overrideprotected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (resultCode == RESULT_OK) { Str...


1 answers
104 views
0
Questions about displaying PDFs in Android app internal fragments

Hi, everyone. The questions I asked you before were solved, but this time There was another problem, so I asked you this question.I want to put a pdf on the fragment on Android, but I want to use PdfR...

2 years ago
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.