Posts by antonio edmilson • 111 points
6 posts
- 
		1 votes2 answers475 viewsA: Hide / Show MenuI don’t know if it’s the best way, but it works: private Menu menu; <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">… androidanswered antonio edmilson 111
- 
		3 votes1 answer245 viewsA: Recover items from ListviewGood morning, From what I’ve interpreted in your code you have a global variable called Produtos and you will add each product selected in this list. This list is passed to Listview each time an… 
- 
		1 votes1 answer208 viewsA: Register product for logged in userGood morning. In this case you inform the Product object which user id. Example: public ContentValues contentValues(Produto produto) { ContentValues values = new ContentValues();… 
- 
		0 votes3 answers3645 viewsA: Leave selected menuYour css should be implemented for "li" tag and not for "ui". .aw-menu > li a:hover, .aw-menu > li a:focus { background-color: #dfdfdf; } .aw-menu > li a { background-color:transparent } I… 
- 
		1 votes1 answer317 viewsA: How do I place the for every 1 second?@Override public void actionPerformed(ActionEvent e) { b3.setBackground(Color.white); Thread.sleep(2000); //Aqui você coloca o tempo em milissegundo. b3.setBackground(Color.blue); } });… 
- 
		2 votes2 answers2281 viewsA: Save a foreign key entity with Hibernate 4Good morning. The secret to persist an entity with foreign keys is not in the save method but in the mapping between entities. In order to be able to persist all objects by saving only the…