This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Miscellaneous | |
*.class | |
*.log | |
*.pyc | |
*.swp | |
.DS_Store | |
.atom/ | |
.buildlog/ | |
.history | |
.svn/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cria um branch e já faz o checkout no mesmo comando. | |
git checkout -b contar-menu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<android.support.v7.widget.Toolbar | |
android:id="@+id/toolbar_repor" | |
android:layout_width="match_parent" | |
android:layout_height="?actionBarSize" | |
android:background="?colorPrimary" | |
android:contentInsetStart="0dp" | |
android:minHeight="?attr/actionBarSize" | |
android:theme="@style/ThemeOverlay.AppCompat.ActionBar" | |
app:contentInsetLeft="0dp" | |
app:contentInsetStart="0dp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public List<Usuar> findAll() { | |
StringBuilder sql = new StringBuilder(); | |
sql.append(" SELECT Isn,Nome_Login,Nome_Completo,Bloqueado,Administrador,Cod_Funcionario,Senha_Hash,Senha1 FROM USUAR"); | |
try { | |
List<Usuar> usuars = db.query(sql.toString(), new UsuarRowMapper()); | |
return !usuars.isEmpty() ? usuars : null; | |
} catch (EmptyResultDataAccessException e) { | |
return null; | |
} |