I'm using this in my application, it's a DragListView. What I want to do is to disable drag to a certain row if it is already in its correct position and then change the background color of that row to green.
This is what I've done so far:
public void checkOrderOfProcedures(){
mItemArray =...
I have an arraylist which is displayed in a listview. The items in this listview can be rearranged. The items are displayed in random order using Collections.shuffle. I want to rearrange the items inside the listview according to its designated procedure number.
For example:
Procedure number 4...
I am trying to filter nearby places specifically hospitals. I'm using Google Places API for Android. My code below doesn't have any errors, but it doesn't show any hospitals.
List<String> filters = new ArrayList<>();
filters.add(String.valueOf(Place.TYPE_HOSPITAL));
PlaceFilter placeFilter =...
I want to display place detail, specifically the phone number of a certain location using its place id.
I have something like this:
mMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() {
@Override
public boolean onMarkerClick(final Marker marker) {...
I've been following this tutorial on displaying nearby places, in my case I need nearby hospitals. I'm able to show my current location and display nearby hospitals. But what I want to do is add the telephone number of those hospitals being displayed in the infowindow of it's corresponding...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.