MCPcopy Index your code
hub / github.com/H07000223/FlycoDialog_Master

github.com/H07000223/FlycoDialog_Master @v1.2.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2.8 ↗ · + Follow
464 symbols 1,245 edges 81 files 95 documented · 20%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

FlycoDialog-Master

Android Arsenal

中文版

An Android Dialog Lib simplify customization. Supprot 2.2+.

Features

DemoApk Download

Built-in Dialog

Dialog Description ScreenShot gif
NormalDialog Default(Two Btns) gif
NormalDialog Style Two gif
NormalDialog Custom Attr gif
NormalDialog One Btn gif
NormalDialog Three Btns gif
MaterialDialog Default(Two Btns) gif
MaterialDialog One Btn gif
MaterialDialog Three Btns gif
NormalListDialog Default gif
NormalListDialog Custom Attr gif
NormalListDialog No Title gif
ActionSheetDialog Default gif
ActionSheetDialog No Title gif

Built-in Popup

Popup Description ScreenShot gif
BubblePopup BubblePopup gif

Change Log

v1.2.6(2015-01-07) - Combine FlycoAnimation_Lib into FlycoDialog_Lib - Fix bug for View in Popup click no response - Improve the function of BaseBubblePopup

v1.2.2(2015-12-20) - BasePopup small bug fix

v1.2.0(2015-12-19) - new added base widget - BasePopup - new added built-in widget - BubblePopup - BaseDialog support auto dimiss in given delay

Qucik Customize Dialog

  • step1:extends BaseDialog(or BottomBaseDialog or TopBaseDialog)
  • step2:inflate layout and find views in onCreateView method
  • step3:do logic operation in setUiBeforShow method

```Java public class CustomBaseDialog extends BaseDialog { private TextView tv_cancel; private TextView tv_exit;

  public CustomBaseDialog(Context context) {
      super(context);
  }

  @Override
  public View onCreateView() {
      widthScale(0.85f);
      showAnim(new Swing());

      // dismissAnim(this, new ZoomOutExit());
      View inflate = View.inflate(context, R.layout.dialog_custom_base, null);
      tv_cancel = ViewFindUtils.find(inflate, R.id.tv_cancel);
      tv_exit = ViewFindUtils.find(inflate, R.id.tv_exit);
      inflate.setBackgroundDrawable(
              CornerUtils.cornerDrawable(Color.parseColor("#ffffff"), dp2px(5)));

      return inflate;
  }

  @Override
  public boolean setUiBeforShow() {
      tv_cancel.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              dismiss();
          }
      });

      tv_exit.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              dismiss();
          }
      });

      return false;
  }

} ```

Qucik Customize Popup

  • step1:extends BasePopup
  • step2:inflate layout and find views in onCreatePopupView method
  • step3:do logic operation in setUiBeforShow method

```java public class SimpleCustomPop extends BasePopup { public SimpleCustomPop(Context context) { super(context); }

      @Override
      public View onCreatePopupView() {
          return View.inflate(mContext, R.layout.popup_custom, null);
      }

      @Override
      public void setUiBeforShow() {

      }
  }

```

Gradle

dependencies{
     compile 'com.flyco.dialog:FlycoDialog_Lib:1.2.2@aar'
     compile 'com.flyco.animation:FlycoAnimation_Lib:1.0.0@aar'
     compile 'com.nineoldandroids:library:2.4.0'
}

After v1.2.6
dependencies{
     compile 'com.flyco.dialog:FlycoDialog_Lib:1.2.8@aar'
     compile 'com.nineoldandroids:library:2.4.0'
}

Eclispe(no update)

Eclipse Developers should include jars below into your project. * FlycoAnimation_Lib-v1.0.0.jar * FlycoDialog_Lib-v1.0.0.jar * nineoldandroids-2.4.0.jar

Thanks

Extension points exported contracts — how you extend this code

AnimatorListener (Interface)
(no doc) [2 implementers]
FlycoDialog_Lib/src/main/java/com/flyco/animation/BaseAnimatorSet.java
OnOperItemClickL (Interface)
(no doc) [2 implementers]
FlycoDialog_Lib/src/main/java/com/flyco/dialog/listener/OnOperItemClickL.java
OnBtnClickL (Interface)
(no doc) [1 implementers]
FlycoDialog_Lib/src/main/java/com/flyco/dialog/listener/OnBtnClickL.java

Core symbols most depended-on inside this repo

dp2px
called by 89
FlycoDialog_Lib/src/main/java/com/flyco/dialog/widget/base/BaseDialog.java
dismiss
called by 47
FlycoDialog_Lib/src/main/java/com/flyco/dialog/widget/base/BaseDialog.java
showShort
called by 44
app/src/main/java/com/flyco/dialogsamples/utils/T.java
show
called by 36
app/src/main/java/com/flyco/dialogsamples/utils/T.java
cornerDrawable
called by 26
FlycoDialog_Lib/src/main/java/com/flyco/dialog/utils/CornerUtils.java
showAnim
called by 25
app/src/main/java/com/flyco/dialogsamples/utils/DiaogAnimChoose.java
setGravity
called by 23
FlycoDialog_Lib/src/main/java/com/flyco/dialog/view/TriangleView.java
dismissAnim
called by 22
FlycoDialog_Lib/src/main/java/com/flyco/dialog/widget/base/BaseDialog.java

Shape

Method 371
Class 90
Interface 3

Languages

Java100%

Modules by API surface

FlycoDialog_Lib/src/main/java/com/flyco/dialog/widget/base/BaseDialog.java34 symbols
FlycoDialog_Lib/src/main/java/com/flyco/dialog/widget/ActionSheetDialog.java30 symbols
FlycoDialog_Lib/src/main/java/com/flyco/dialog/widget/NormalListDialog.java26 symbols
app/src/main/java/com/flyco/dialogsamples/ui/DialogHomeActivity.java24 symbols
FlycoDialog_Lib/src/main/java/com/flyco/dialog/widget/internal/BaseAlertDialog.java20 symbols
FlycoDialog_Lib/src/main/java/com/flyco/animation/BaseAnimatorSet.java18 symbols
FlycoDialog_Lib/src/main/java/com/flyco/dialog/widget/popup/base/BaseBubblePopup.java13 symbols
FlycoDialog_Lib/src/main/java/com/flyco/dialog/widget/base/BottomTopBaseDialog.java13 symbols
app/src/main/java/com/flyco/dialogsamples/ui/CustomPopupActivity.java12 symbols
app/src/main/java/com/flyco/dialogsamples/adapter/HomeAdapter.java12 symbols
app/src/main/java/com/flyco/dialogsamples/extra/IOSTaoBaoDialog.java11 symbols
FlycoDialog_Lib/src/main/java/com/flyco/dialog/widget/base/TopBaseDialog.java11 symbols

For agents

$ claude mcp add FlycoDialog_Master \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page