Commit a2590d7abdbd4aa7b57ac58923ea2036aa5e7950

Authored by wwx
1 parent bcc5360e

no message

app/src/main/java/com/shunzhi/parent/ui/fragment/apply/ApplySigninFragment.java
@@ -150,30 +150,30 @@ public class ApplySigninFragment extends BaseMVPCompatFragment<ApplySigninContra @@ -150,30 +150,30 @@ public class ApplySigninFragment extends BaseMVPCompatFragment<ApplySigninContra
150 public void onTimeSelectChanged(Date date) { 150 public void onTimeSelectChanged(Date date) {
151 Log.i("pvTime", date.toString()); 151 Log.i("pvTime", date.toString());
152 } 152 }
153 - // }).build();  
154 - }).setDate(selectedDate)  
155 - .setRangDate(startDate, endDate)  
156 - .setLayoutRes(R.layout.pickerview_custom_lunar, new CustomListener() {  
157 - @Override  
158 - public void customLayout(View v) {  
159 - final TextView tvSubmit = (TextView) v.findViewById(R.id.tv_finish);  
160 - ImageView ivCancel = (ImageView) v.findViewById(R.id.iv_cancel);  
161 - tvSubmit.setOnClickListener(new View.OnClickListener() {  
162 - @Override  
163 - public void onClick(View v) {  
164 - pvCustomLunar.dismiss();  
165 - pvCustomLunar.returnData();  
166 - initData();  
167 - }  
168 - });  
169 - ivCancel.setOnClickListener(new View.OnClickListener() {  
170 - @Override  
171 - public void onClick(View v) {  
172 - pvCustomLunar.dismiss();  
173 - }  
174 - });  
175 - }  
176 - }).build(); 153 + }).build();
  154 +// }).setDate(selectedDate)
  155 +// .setRangDate(startDate, endDate)
  156 +// .setLayoutRes(R.layout.pickerview_custom_lunar, new CustomListener() {
  157 +// @Override
  158 +// public void customLayout(View v) {
  159 +// final TextView tvSubmit = (TextView) v.findViewById(R.id.tv_finish);
  160 +// ImageView ivCancel = (ImageView) v.findViewById(R.id.iv_cancel);
  161 +// tvSubmit.setOnClickListener(new View.OnClickListener() {
  162 +// @Override
  163 +// public void onClick(View v) {
  164 +// pvCustomLunar.dismiss();
  165 +// pvCustomLunar.returnData();
  166 +// initData();
  167 +// }
  168 +// });
  169 +// ivCancel.setOnClickListener(new View.OnClickListener() {
  170 +// @Override
  171 +// public void onClick(View v) {
  172 +// pvCustomLunar.dismiss();
  173 +// }
  174 +// });
  175 +// }
  176 +// }).build();
177 } 177 }
178 178
179 179
@@ -202,6 +202,6 @@ public class ApplySigninFragment extends BaseMVPCompatFragment<ApplySigninContra @@ -202,6 +202,6 @@ public class ApplySigninFragment extends BaseMVPCompatFragment<ApplySigninContra
202 @Override 202 @Override
203 public void showDetialInfo(List<AttendanceBean> list) { 203 public void showDetialInfo(List<AttendanceBean> list) {
204 String num = String.valueOf(list.size()); 204 String num = String.valueOf(list.size());
205 - tv_kaoqin_num.setText(num); 205 + tv_kaoqin_num.setText(num+"次");
206 } 206 }
207 } 207 }
app/src/main/res/layout/fragment_apply_signin.xml
@@ -122,7 +122,7 @@ @@ -122,7 +122,7 @@
122 android:layout_height="wrap_content" 122 android:layout_height="wrap_content"
123 android:layout_weight="2.8" 123 android:layout_weight="2.8"
124 android:gravity="center" 124 android:gravity="center"
125 - android:text="5" 125 + android:text="0次"
126 android:textColor="@color/hintTextColor" 126 android:textColor="@color/hintTextColor"
127 android:textSize="@dimen/textSize16" /> 127 android:textSize="@dimen/textSize16" />
128 </LinearLayout> 128 </LinearLayout>