Refactored and updated omst variables to final
UserOverlay base is now BaseUserOverlay MapFragmentBase is now BaseMapFragment Change-Id: Icbe234964f9b8ad511f17f6d22bca1a677d4189b Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -22,8 +22,8 @@ import com.TwentyCodes.android.overlays.DirectionsOverlay;
|
||||
*/
|
||||
public class DirectionsAdapter extends BaseAdapter {
|
||||
|
||||
private LayoutInflater mInflater;
|
||||
private DirectionsOverlay mDirections;
|
||||
private final LayoutInflater mInflater;
|
||||
private final DirectionsOverlay mDirections;
|
||||
|
||||
|
||||
/**
|
||||
@@ -80,8 +80,8 @@ public class DirectionsAdapter extends BaseAdapter {
|
||||
* @author ricky barrette
|
||||
*/
|
||||
@Override
|
||||
public View getView(int position, View convertView, ViewGroup parent) {
|
||||
ViewHolder holder;
|
||||
public View getView(final int position, View convertView, final ViewGroup parent) {
|
||||
final ViewHolder holder;
|
||||
if (convertView == null) {
|
||||
convertView = mInflater.inflate(R.layout.list_row, null);
|
||||
holder = new ViewHolder();
|
||||
|
||||
Reference in New Issue
Block a user