With the help of this library, you can create different functions in a baton sheet without wasting your time.
ItemRuner runer = new ItemRuner(this);
runer.addItem("Hello", R.drawable.ic_launcher_foreground);
runer.addItem("Hello", R.drawable.ic_launcher_foreground, false);
runer.addItem("Hello");
runer.setCallBack(
new OnItemClickEvent() {
@Override
public void onClickItem(int pos) {}
@Override
public void onLongItem(int pos) {
runer.removed(pos);
runer.DataRomved(pos);
}
});
runer.setTextColors(Color.CYAN);
runer.setColorFilter(Color.CYAN);
runer.serDivarColor(Color.BLUE);
runer.setTitleColor(Color.CYAN);
runer.setTitle("Hello");
runer.setAnimator(true);
runer.setSheetBackground(Color.BLACK);
runer.setLayoutChange(true);
runer.show();
I don't really know how to upload the library in mevan or jetpack, if anyone knows how to create a fork, you can also use it as a module.