You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TimelineView acts individually while drawing the line and marker. Based on marker size and remaining space the line is drawn and it may not be perfect every time.
Hello, when i want set marker bitmap i have a problem with line (the line goes to the marker)
holder.timeline.initLine(getItemViewType(position));
holder.timeline.setMarkerInCenter(true);
holder.timeline.setLineStyle(TimelineView.LineStyle.DASHED);
holder.timeline.setLineStyleDashGap(20);
holder.timeline.setLineStyleDashLength(28);
drawable = new BitmapDrawable(context.getResources(), bitmapEnd);
holder.timeline.setMarkerSize(60);
holder.timeline.setMarker(drawable);
@OverRide
public int getItemViewType(int position) {
return TimelineView.getTimeLineViewType(position, getItemCount());
}
The text was updated successfully, but these errors were encountered: