This file contains hidden or 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
| public VerticalAdapter(List<Object> items, Context context) { | |
| mValues = items; | |
| mContext = context; | |
| } | |
| @Override | |
| public void onBindViewHolder(final ViewHolder holder, int position) { | |
| //Don't forget to clear | |
| holder.mListPhoto.clear(); |
This file contains hidden or 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
| public class MapsNearbyActivity extends AppCompatActivity implements OnMapReadyCallback { | |
| private GoogleMap mMap; | |
| private Member mMember; | |
| private GPSTracker gps; | |
| private double mLong, mLat; | |
| @BindView(R.id.toolbar) |
This file contains hidden or 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
| public class GPSTracker extends Service implements LocationListener { | |
| private Context mContext; | |
| private Activity mActivity; | |
| // flag for GPS status | |
| boolean isGPSEnabled = false; |
NewerOlder