Posts by mrocigno • 121 points
13 posts
-
2
votes1
answer854
viewsA: Navigation between flutter screens
In his job _buildPageContent() put the context parameter, so when you call it in the Scaffold body pass the context. Ex: Widget _buildPageContent(BuildContext context) {...seucodigo...} @override…
-
0
votes1
answer332
viewsA: Flutter - Change one image to another in a short period of time
There are a few ways to do this, you can create the padlock as Component Statefulwidget. That way it would be something like this: class Cadeado extends StatefulWidget { Cadeado({Key key}) :…
-
-2
votes1
answer71
viewsA: Setar Adapter inside a Thread
Try it this way: runOnUiThread(new Runnable() { @Override public void run() { recyclerRecibo.setAdapter(adapter); } });
-
1
votes1
answer35
viewsA: I can’t recover an imageview on (R.drawable)
Apparently it’s because I have to import the lib R. Go to the line where ta error presses "alt + enter" and imports the first lib that appears
-
0
votes2
answers115
viewsA: How to overwrite the Onitemselected method of a Spinner?
About how to set the onItemSelectedListener(this) (as if it were in java) you do as the commented code onItemSelectedListener = this
-
1
votes2
answers242
viewsA: How can I create an event where I click on a div that contains details of a product and after that this product opens on the same page?
Right, since you are not using any back-end language it gets more complicated, however, one way to do this is to open the pop-up with an iframe, loading the product page... Follow an example:…
-
1
votes3
answers685
viewsA: How to make hidden texts appear when expanding a menu
I believe this meets more or less what you need $(function (){ $("body").ready(function(){ $(".sessao").click(function(){ if($(this).hasClass("expandir")){ $(this).removeClass("expandir"); }else{…
-
0
votes4
answers666
viewsA: How do I get an image to cross the boundaries of a DIV
You can do something like this in css: .teste{ margin: 100px; width: 200px; height: 200px; background-color: red; } @media (max-width: 600px){ .teste{ margin: 0px; /*Aqui é onde vc vai tirar a…
-
1
votes3
answers1061
views -
0
votes2
answers112
viewsA: Grab Scrollpane size when set by anchoring - Javafx
For the vertical bar: jScrollPane1.getVerticalScrollBar().getMaximum() or for the horizontal bar: jScrollPane1.getHorizontalScrollBar().getMaximum()…
-
0
votes2
answers1823
viewsA: VBA - How to search words from one list in another and point "Found"
For this it is not necessary to use VBA, a formula in Excel would already serve you: =SE(SEERRO(FIND(A1;Plan2! $A$1);0)>0;"Found";"Hidden") But if you need it done in VBA is something like:…
-
0
votes2
answers941
viewsA: Grab id from clicked button when clicking another button
I think it would be easier if you showed what you are using, if it is Jquery, or things like... Well using pure JS we can do so: var primeiroBtn = ""; function ok(elemento){ primeiroBtn =…
-
-1
votes2
answers147
viewsQ: How to make the amount of DIV to adapt
Good afternoon, my doubt is the following, on my site there is a section where the highlights part is, and in this section there are 6 more Divs for the products display (image) Well, so far so…