I want the Recyclerview to auto-scroll by certain Dp. I tried using a scrollTo(xoffset,yoffset) but it does not  
    recylerView=getDataBinder().ivOnboard
        adapter= CarouselAdapter(binder.root.context,configHelper.getAppConfig()?.OnboardingMeta?.onBoardingImg!!)
        //TO Do:add stuff
        recylerView.adapter=adapter
       recylerView.setLayoutManager(LinearLayoutManager(context,LinearLayoutManager.HORIZONTAL,true))
       // var layoutManager=CarouselLinearLayoutManager(context!!,true)
        var layoutManager=LinearLayoutManager(context,LinearLayoutManager.HORIZONTAL,true)
       recylerView.layoutManager=layoutManager
       var handler=Handler()
       var runnable= Runnable {   fun run()
       {
//           if(layoutManager.isSmothSCroller)
//               scrollTo(layoutManager.smothSCroller)
           recylerView.smoothScrollBy(20,0)
       }}