Posts by Sergio Arantes Junior • 21 points
4 posts
-
0
votes1
answer199
viewsA: Searchview without any return on Android
Call search or change its implementation into onCreateOptionsMenu and let the return of onQueryTextSubmit for true.
-
1
votes2
answers498
viewsA: Blocked installation when debugging app by Android Studio
I believe that in addition to enabling USB debugging, you should enable the option: Unknown sources, accessing the Settings Menu and going to Security on your device.
-
0
votes2
answers7717
viewsA: Execute a function when loading the page, Javascript and Angular
Try using a script tag just below your body: <script> document.ready(function(){ $scope.getEmpresas(); }); </script> Although it’s not the only solution :)…
-
1
votes2
answers96
viewsA: Nullpointerexception when deleting register
I think it’s better to pass the Activity itself as context: public AdapterProduto(Activity activity, ArrayList<Produto> produtos) { this.context = activity; this.produtos = produtos; } This…