GithubHelp home page GithubHelp logo

Comments (12)

lucklygaj avatar lucklygaj commented on May 23, 2024

是怎么个不显示法,能贴个代码么?感谢你的反馈

from easyrefreshlayout.

micki-zhou avatar micki-zhou commented on May 23, 2024

同样遇到这个问题,

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

                 <com.ajguan.library.EasyRefreshLayout
                      android:id="@+id/er_load_more"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent">

                              <android.support.v7.widget.RecyclerView
                                android:id="@+id/rv_comment"
                               android:layout_width="match_parent"
                                android:layout_height="match_parent"
                               android:background="@color/bg_grey"
                                android:visibility="gone" />
        </com.ajguan.library.EasyRefreshLayout>
     </LinearLayout>

像这样的话,不仅easyRefreshLayout不显示了,连RecyclerView都不显示了。去掉easyRefreshLayout,一切正常。

from easyrefreshlayout.

micki-zhou avatar micki-zhou commented on May 23, 2024

android:visibility="gone" 这个是我自己逻辑里有判断,不是因为这个不显示哈

from easyrefreshlayout.

micki-zhou avatar micki-zhou commented on May 23, 2024

最外层还有个ScrollView,不知道为什么发出来就没了

from easyrefreshlayout.

lucklygaj avatar lucklygaj commented on May 23, 2024

感谢你的反馈,我现在看下

from easyrefreshlayout.

lucklygaj avatar lucklygaj commented on May 23, 2024


你设置成匹配父布局看下

from easyrefreshlayout.

micki-zhou avatar micki-zhou commented on May 23, 2024

什么意思,不是很明白 @githubzaibao

from easyrefreshlayout.

lucklygaj avatar lucklygaj commented on May 23, 2024

已重现该问题,我先研究研究,解决了会及时联系你

from easyrefreshlayout.

micki-zhou avatar micki-zhou commented on May 23, 2024

好的,谢谢 @githubzaibao

from easyrefreshlayout.

gwwnha avatar gwwnha commented on May 23, 2024

不知掉这个问题解决了怎么样了,同样遇到了

from easyrefreshlayout.

lucklygaj avatar lucklygaj commented on May 23, 2024

有个方案解决了,但有瑕疵,还在coding

from easyrefreshlayout.

lucklygaj avatar lucklygaj commented on May 23, 2024

关于嵌套ScrollView,目前想到两种解决方法,一、将scrollView的android:layout_height="math_parent">
二、在EasyRefreshLayout的onMeasure方法中调用 super.onMeasure(widthMeasureSpec,传入指定的高度);

from easyrefreshlayout.

Related Issues (20)

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.