Posts by Leila F. • 36 points
3 posts
-
1
votes1
answer1265
viewsA: Click on an Item in recycleView and open Activity
I wear it like this: I created an interface as a Reader: public interface OnClickListener { void onItemClick(MeuObjeto meuObjeto); } Then, on my Adapter, I created a constructor that receives a…
-
1
votes1
answer1181
viewsQ: Save user information to Firebase Realtime Database
In accordance with the documentation says, one should not use the getUid() user to authenticate users to the backend server; instead, use the getToken(). However, I see a lot of code out there using…
-
0
votes1
answer500
viewsA: Login screen problem, if logged in user redirects to telaInicio
I usually do it like this (I don’t know if it’s the best way): In the stretch if (user == null) { String contextPath = ((HttpServletRequest) request) .getContextPath(); ((HttpServletResponse)…