Skip to content

appt2/ListSheet

Repository files navigation

ListSheet

With the help of this library, you can create different functions in a baton sheet without wasting your time.

How to use?

 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();

Note

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages