id tag

1618 questions


1 answers
103 views
0
How to classify android packages

What criteria do you break down when you classify classes into normal packages on Android?Until now,activity.By screen.oooActivityfragment.by screen.oooFragmemntview.oooViewutil.oooUtiladapter.oooAdap...

2 years ago

1 answers
18 views
0
When you run the server from the messenger client.

Hi, everyone.When implementing messenger push.I didn't use Google push, but I used my own push. When implementing push, the client end has to be a kind of server.For TCP socket, you can turn the threa...

2 years ago

1 answers
134 views
0
What is the difference between fill_parent and wrap_content?

What is the difference between fill_parent and wrap_content?


1 answers
20 views
0
Android One Note Badge Function

You can take notes while using other applications, such as the badge function of one note, and I would like to know what function to use to display the badge at all times.

2 years ago

1 answers
76 views
0
NullPointerException when accessing view from onCreate()

This is one of the typical questions that is frequently asked in hashcodeYou have created a new activity using the wizard according to the tutorial. NullPointerException occurred when a method call wa...


1 answers
23 views
0
Android String null check is weird

String a;a = 123;if(a == null){ Output string null}I did it like thisI put the string 123 in the string. If I check the null in the next line, it says null, is there something wrong?Can't I null-check...

2 years ago

2 answers
137 views
0
I'm curious about the name of the Android variable

LayoutInflater mLayoutInflater;I have a question while I was looking at Android open source.Many people put m at the beginning of the variable as above, and I wonder why.


1 answers
23 views
0
Is there a way to specify the Android background like the scaleType Matrix in ImageView?

To hide the layout located at the bottom and expand the scroll view when touching the scroll view at the topI used a method of reducing the weight. (I'm not sure if this is right because I'm a beginne...

2 years ago

1 answers
25 views
0
You are about to create a library on Android.

You need to create a library with RxJava, which is also used for projects that apply it. So is there no problem using the same library on both sides?

2 years ago

1 answers
69 views
0
How do I avoid focusing on EditText when the activity is executed?

There are two elements in the activity, EditText and ListView. When the activity is turned on, a cursor is created in EditText EditText.setSelected(false);I did it like this, but it's still like that...

« - 122 - »

© 2024 OneMinuteCode. All rights reserved.