Posts by Belo • 36 points
2 posts
-
0
votes2
answers66
viewsA: How do I click on the listview and open an activyity?
A good place to put your click code would be on the Listview Adapter. In your Adapter (Customlistview in your case) put a code similar to this: @Override public View getView(int position, View…
-
2
votes1
answer87
viewsA: Check Internet status on API 29 (Anroid Q)
public static boolean hasInternetConnection(Context context) { /* Taken from Johan's answer at: https://stackoverflow.com/a/35009615 */ ConnectivityManager connectivityManager =…