use of org.thoughtcrime.securesms.components.DeliveryStatusView in project deltachat-android by deltachat.
the class ConversationUpdateItem method onFinishInflate.
@Override
public void onFinishInflate() {
super.onFinishInflate();
initializeAttributes();
bodyText = findViewById(R.id.conversation_update_body);
deliveryStatusView = new DeliveryStatusView(findViewById(R.id.delivery_indicator));
bodyText.setOnLongClickListener(passthroughClickListener);
bodyText.setOnClickListener(passthroughClickListener);
}
use of org.thoughtcrime.securesms.components.DeliveryStatusView in project deltachat-android by deltachat.
the class ConversationListItem method onFinishInflate.
@Override
protected void onFinishInflate() {
super.onFinishInflate();
this.subjectView = findViewById(R.id.subject);
this.fromView = findViewById(R.id.from_text);
this.dateView = findViewById(R.id.date);
this.deliveryStatusIndicator = new DeliveryStatusView(findViewById(R.id.delivery_indicator));
this.contactPhotoImage = findViewById(R.id.contact_photo_image);
this.archivedBadgeView = findViewById(R.id.archived_badge);
this.requestBadgeView = findViewById(R.id.request_badge);
this.unreadIndicator = findViewById(R.id.unread_indicator);
ViewUtil.setTextViewGravityStart(this.fromView, getContext());
ViewUtil.setTextViewGravityStart(this.subjectView, getContext());
}
Aggregations