Posts by Daniel 101 • 121 points
9 posts
-
-2
votes2
answers79
viewsA: Android Studio Linearlayout generating error while scrolling
A tip, use Scrollview as Parent View, inside it use the layout you want (Linearlayout, Relativelayout, ...), in this layout put your views.
android-studioanswered Daniel 101 121 -
0
votes1
answer30
viewsA: I need to call an Activity through a Fragment, I looked for some answers but they didn’t work
Try to change the section Intent intent = new Intent(getContext(), MapsActivity.class); for Intent intent = new Intent(getActivity(), MapsActivity.class);…
-
1
votes2
answers78
viewsA: Send Id via Independent Components from a Link and Miter, Angular 2 (7)?
Instead of calling the emitter variable statically [Parentchildcomponent.emitirIdCidade.Emit(Event);]. I advise you to create a Service, within it you place your Eventemitter variable and initialize…
angularanswered Daniel 101 121 -
1
votes2
answers55
viewsA: Severe Error in PHP Language
It is not a PHP BUG logically, but because you are doing a cast (int) so floating point values are rounded to more or less significant.
-
-1
votes3
answers447
viewsA: Take JSON object dynamically
Convert your json variable to Object and do the necessary processing with Javascript. var obj = JSON.parse(json);
-
1
votes1
answer319
viewsA: Replace Tag by php code
Example of how to do with PHP: Ex: {{ variavel }} vira <?php echo $variavel; ?> PHP code: preg_replace("/({{([ a-zA-Z]*)}})/gm", "<?php echo \$${2}; ?>", $string); Of course you will…
phpanswered Daniel 101 121 -
5
votes3
answers5883
viewsA: Disable button after click
Using pure Javascript, you can do it using: <button onclick="this.disabled = true;">Curtir</button>
-
-1
votes1
answer69
viewsA: Get a page with PHP or Ajax?
I think I understand your question. Well come on. first- AJAX cannot be compared to PHP, because it is a Jquery plugin to do things like requests without refresh on the page or even receive texts…
-
-1
votes7
answers91443
viewsA: Error: Unable to find or load the main class in Java (Eclipse or CMD)?
Very simple to solve this problem, of course if you have installed java correctly. Well just take : (package xxxxxxx;) from class and compile in CMD normally with : 1° (javac Classname.java) 2°…
javaanswered Daniel 101 121