code: @NonNull
      public static SlidrInterface attach(@NonNull Activity activity, @NonNull SlidrConfig config) {
  
          // Setup the slider panel and attach it to the decor
          final SliderPanel panel = attachSliderPanel(activity, config);
  
          // Set the panel slide listener for when it becomes closed or opened
          panel.setOnPanelSlideListener(new ConfigPanelSlideListener(activity, config));
  
          // Return the lock interface
          return panel.getDefaultInterface();
      }
docs: Attach a slider mechanism to an activity based on the passed {@link com.r0adkll.slidr.model.SlidrConfig}
  
  @param activity the activity to attach the slider to
  @param config   the slider configuration to make
  @return a {@link com.r0adkll.slidr.model.SlidrInterface} that allows
  the user to lock/unlock the sliding mechanism for whatever purpose.