Constraints between elements into RelativeLayout

I have this section into my layout: <RelativeLayout android:id=”@+id/title_layout” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:paddingLeft=”@dimen/keyline_4″ android:paddingTop=”10dp” android:paddingRight=”@dimen/keyline_4″ app:layout_constraintTop_toBottomOf=”@+id/avatar_layout” android:visibility=”visible”> <androidx.appcompat.widget.AppCompatImageView android:id=”@+id/flag_icon” android:layout_width=”26dp” android:layout_height=”26dp” android:layout_marginRight=”@dimen/keyline_0″ android:layout_toLeftOf=”@+id/title” android:src=”@drawable/ic_modify” android:visibility=”visible”/> <androidx.appcompat.widget.AppCompatTextView android:id=”@+id/title” style=”@style/ProfileTitle” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_centerInParent=”true” android:text=”TEST TEST” android:ellipsize=”end” android:maxLines=”1″ android:singleLine=”true” /> <androidx.appcompat.widget.AppCompatImageView android:id=”@+id/update_icon” android:layout_width=”@dimen/keyline_4″ android:layout_height=”@dimen/keyline_4″ android:layout_toRightOf=”@+id/title” android:layout_marginLeft=”@dimen/keyline_0″ android:src=”@drawable/ic_modify” android:visibility=”visible”/> </RelativeLayout> The result (on layout editor): it’s OK But if the…

Details

Exception caused by Jackson JsonMappingException – must be an interface

I’m having a problem getting Projections to work with Joda LocalDateTime. public interface SomeProjection { Long getId(); LocalDateTime getDateCreated() } Results in the following error: Caused by: com.fasterxml.jackson.databind.JsonMappingException: Projection type must be an interface! (through reference chain: org.springframework.data.domain.PageImpl[“content”]->java.util.Collections$UnmodifiableRandomAccessList[0]->com.sun.proxy.$Proxy358[“dateCreated”]) I tried adding the same conversion type that I have in the entity. @Type(type = “org.jadira.usertype.dateandtime.joda.PersistentLocalDateTime”) But…

Details