Posts by João Paulo • 21 points
2 posts
-
0
votes1
answer53
viewsQ: How do you pass an activity value to a fragment?
I’m trying to instantiate a method that returns a value of type int in a fragment, but when I show the value on the device screen Textview shows this: null. Fragment code: public View…
-
1
votes0
answers227
viewsQ: How to hide the navigation bar?
I used this code below to hide the Android navigation bar. The code worked, but when a new Activity is opened by an app button the bar appears and comes out fast, this is not very good. So I’d like…