Skip to content

Commit

Permalink
Update CustomPlacesAdapter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ZainMustafaaa authored Sep 12, 2017
1 parent 0dd144e commit 230363b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ public long getItemId(int i) {
@Override
public View getView(int i, View view, ViewGroup viewGroup) {

if(view == null)
view = view.inflate(context, R.layout.health_centers_result_view, null);
if(view == null) view = view.inflate(context, R.layout.health_centers_result_view, null);

TextView placeTextView = (TextView) view.findViewById(R.id.placeNameTextView);
TextView ratingTextView = (TextView) view.findViewById(R.id.ratingTextView);
Expand Down

0 comments on commit 230363b

Please sign in to comment.