sPFApp/src/main/java/it/polimi/spf/app/fragments/profile/ProfileFieldViewFactory.java
private <E> View createStandardDisplayView(ProfileField<E> field, E currentValue, ViewGroup viewContainer) {
		View result = mInflater.inflate(R.layout.profileview_field_listelement, viewContainer, false);

		String friendlyFieldName = mHelper.getFriendlyNameOfField(field);
		((TextView) result.findViewById(R.id.profile_field_key)).setText(friendlyFieldName);

		String fieldValue = mHelper.convertToFriendlyString(field, currentValue);
		((TextView) result.findViewById(R.id.profile_field_value)).setText(fieldValue);

		setUpCircleView(result, field, null);
		return result;
	}
private <E> View createStandardDisplayView(ProfileField<E> field, E currentValue, ViewGroup viewContainer) {
		View result = mInflater.inflate(R.layout.profileview_field_listelement, viewContainer, false);

		String friendlyFieldName = mHelper.getFriendlyNameOfField(field);
		((TextView) result.findViewById(R.id.profile_field_key)).setText(friendlyFieldName);

		String fieldValue = mHelper.convertToFriendlyString(field, currentValue);
		((TextView) result.findViewById(R.id.profile_field_value)).setText(fieldValue);

		setUpCircleView(result, field, null);
		return result;
	}
private < E > View createStandardDisplayView ( ProfileField < E > field , E currentValue , ViewGroup viewContainer ) { View result = mInflater . inflate ( R . layout . profileview_field_listelement , viewContainer , false ) ; String friendlyFieldName = mHelper . getFriendlyNameOfField ( field ) ; ( ( TextView ) result . findViewById ( R . id . profile_field_key ) ) . setText ( friendlyFieldName ) ; String fieldValue = mHelper . convertToFriendlyString ( field , currentValue ) ; ( ( TextView ) result . findViewById ( R . id . profile_field_value ) ) . setText ( fieldValue ) ; setUpCircleView ( result , field , null ) ; return result ; }
Standard display view for all profile fields except tags
Standard display view for all profile fields except tags