Giter VIP home page Giter VIP logo

androidui's Issues

PasswordEditText问题

看了您的代码,感觉写的非常不错,只是用PasswordEditText的时候发现一个问题:只要我用android.support.design.widget.TextInputLayout包住就会显示系统默认的小眼睛图标(这样就总共有三个图标了),单独使用PasswordEditText就没问题

在xml使用的时候直接赋值会报boolean android.animation.ValueAnimator.isRunning()

原因是动画还没初始化就触发了onTextChanged()方法,导致 mAnimator_gone.end();空指针。
解决方法:在 mAnimator_gone.end();之前判空就行,补上代码
/**
* 结束所有动画
*/
private void endAnaimator(){
if (mAnimator_gone == null||mAnimator_visible == null){
return;
}
if (mAnimator_gone.isRunning()){
mAnimator_gone.end();
}
if (mAnimator_visible.isRunning()){
mAnimator_visible.end();
}
}

其实这并不是什么严重的bug,真正使用是并不会出现,只是我测试的时候在XML上赋了值,姑且提个issues。最后,感谢楼主的代码!刚开始用,后续看看体验如何。
还有就是楼主有时间可以更新下代码,适配下androidx!!0.0

recyclerView 嵌套 recyclerView 如何做

如果是recyclerview多布局复用,在子布局中还有recyclerview 那么要定位到子布局中的某一个位置。该怎么搞?感觉外层recyclerview 会影响子的。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.