public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            var view = inflater.Inflate(Resource.Layout.fragment_exhibit_details_caption_dialog_references, container, false);

            recyclerView = view.FindViewById <RecyclerView>(Resource.Id.captionDialogReferencesRecyclerView);
            recyclerView.SetAdapter(new CaptionDialogReferencesRecyclerAdapter(References));
            recyclerViewManager = new LinearLayoutManagerWithSmoothScroller(Context);
            recyclerView.SetLayoutManager(recyclerViewManager);
            recyclerView.ScrollToPosition(currentSource);

            return(view);
        }
                private const float Scrolltime = 2.5f; //Higher value means slower scrolling

                public TopSnappedSmoothScroller(Context context, LinearLayoutManagerWithSmoothScroller scroller) : base(context)
                {
                    this.scroller = scroller;
                }