zoukankan      html  css  js  c++  java
  • 团队冲刺二(1)

    冲刺二第一天(5.25)

    朴远东:获取文件数据问题解决,失败原因:Tomcat要配置虚拟路径。新的问题:线程调用更改TextView控件

    张宏伟:学习implements接口,尝试在意见反馈中减少代码量,出现了一些BUG,也有了一些经验

    接口实现的注意点:
    a.实现一个接口就是要实现该接口的所有的方法(抽象类除外)。
    b.接口中的方法都是抽象的。
    c.多个无关的类可以实现同一个接口,一个类可以实现多个无关的接口。
    而我在自身调用中的错误便是第二条,研究了好久,最后放弃了implements
     
    王兵兵:研究底部导航栏布局
    <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> <View android:id="@+id/ly_top_bar" android:layout_width="match_parent" android:layout_height="1dp" android:background="@color/colorPrimary"/> <RadioGroup android:layout_width="match_parent" android:layout_height="56dp" android:id="@+id/rg_tab_bar" android:layout_alignParentBottom="true" android:orientation="horizontal"> <RadioButton android:id="@+id/rbb_1" style="@style/tab_menu_item" android:drawableTop="@drawable/qq" android:text="@string/jihua"/> <RadioButton android:id="@+id/rbb_2" style="@style/tab_menu_item" android:drawableTop="@drawable/pp" android:text="@string/dating"/> <RadioButton android:id="@+id/rbb_3" style="@style/tab_menu_item" android:drawableTop="@drawable/oo" android:text="@string/wode"/> </RadioGroup> <View android:id="@+id/div_tab_bar" android:layout_width="match_parent" android:layout_height="2px" android:layout_above="@id/rg_tab_bar" /> <FrameLayout android:id="@+id/ly_content" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_above="@id/div_tab_bar" android:layout_below="@id/ly_top_bar"> </FrameLayout> </RelativeLayout>等等
    但是太过繁琐,在gragment之间传接产生错误
  • 相关阅读:
    bzoj 2742(树状数组)
    [网络流24题(3/24)] 最长k可重区间集问题(洛谷P3358)
    bzoj 1087(状压dp)
    算法模板整理V1.0
    ACM资料汇总
    算法笔记
    NC20861 兔子的逆序对(数学基础)
    zzuli新生周赛第四周题解
    Gym 102028E Resistors in Parallel(大数)
    HDU 3974 Assign the task(dfs序建线段树)
  • 原文地址:https://www.cnblogs.com/pyd2020/p/13027081.html
Copyright © 2011-2022 走看看