super.onCreate(savedInstanceState);
setContentView(R.layout.activity_others);
RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
recyclerView.setAdapter(new DemoAdapter(this));
recyclerView.setLayoutManager(new LinearLayoutManager(this));
<BUG>new TouchScrollBar(this, recyclerView, false).setIndicator(new CustomIndicator(this), true).setHandleColour(Utils.fetchAccentColor(this));
}</BUG>
@Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.menu_name, menu);

super.onCreate(savedInstanceState);
setContentView(R.layout.activity_others);
RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
recyclerView.setAdapter(new DemoAdapter(this));
recyclerView.setLayoutManager(new LinearLayoutManager(this));
new TouchScrollBar(this, recyclerView, false).setIndicator(new CustomIndicator(this), true);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.menu_name, menu);
