나의 Winding Road

IIR/FIR 뷰 invalidate 에러 본문

개발/Android

IIR/FIR 뷰 invalidate 에러

WindingRoad 2015. 12. 27. 21:26

Dante 프로젝트


문제 상황 : FIR 설정 후에 View 갱신이 제대로 되지 않고 있음



문제 해결 : bDrawBPF_FIR 값 설정이 제대로 되지 않아 발생하는 문제여서 getter와 setter로 해결하였음.... 삽질 몇 시간 했는지 모르겠음....


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
if(!isBPF) {
   if (type == 0 || type == 1)
      path = cDrawGraph.makeGraphImage(position - 1false, path); //그래프를 실제로 그려준다
   else if (type == 2 || type == 3) {
      //path = peqPath;
      path = cDrawGraph.viewPath;
   }
}
else {
   if(cSystemInfo.getIsFir(position - 1)) { // FIR인 경우
      Log.i("BPF makeGraph""FIR : true" + "/ position : " + (position - 1));
      cDrawGraph.setbDrawBPF_FIR(true);
      path = cDrawGraph.makeGraphImage(position - 1true, path); //그래프를 실제로 그려준다
   }
   else {
      cDrawGraph.setbDrawBPF_FIR(false);
      Log.i("BPF makeGraph""FIR : false" + "/ position : " + (position - 1));
      path = cDrawGraph.makeGraphImage(position - 1false, path); //그래프를 실제로 그려준다
   }
}
cs



Comments