# View is not updating

**URL:** <https://forum.ionicframework.com/t/view-is-not-updating/100503>\
**Category:** ionic-v3\
**Created:** [August 2, 2017, 5:20am UTC](https://forum.ionicframework.com/t/view-is-not-updating/100503 "2017-08-02T05:20:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![khokhardheeraj](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/khokhardheeraj/32/105880_2.png) [@khokhardheeraj](https://forum.ionicframework.com/u/khokhardheeraj)\
**Post date:** [August 2, 2017, 5:20am UTC](https://forum.ionicframework.com/t/view-is-not-updating/100503/1 "2017-08-02T05:20:53Z")

</div>

Hi, I am using ion-list to show the data on my page. Data is dynamically loading using http request variable is updated but is not showing that updated value on with using detectChanges() method. What is the reason behind this?

```auto
import { Component , ChangeDetectorRef } from '@angular/core';
private list: [] = [];
export class HomePage {
constructor(private ref: ChangeDetectorRef){
this.getData();
}

getData(){
//http request
this.list = new Data;
this.ref.detectChanges();
}
}

```

---

<div class="post-metadata">

**Author:** ![Sachiyo](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Sachiyo](https://forum.ionicframework.com/u/Sachiyo)\
**Post date:** [August 2, 2017, 9:50am UTC](https://forum.ionicframework.com/t/view-is-not-updating/100503/2 "2017-08-02T09:50:33Z")

</div>

Hello

Could you provide the full code (maybe on plunker?) so we can replicate and investigate the issue?  
Your code seems fine so far, could it be possible that you made a typo while writing **list** in your html maybe?  
You should not need to call detectChanges in the first place…

---

<div class="post-metadata">

**Author:** ![arnoldparge](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/arnoldparge/32/111355_2.png) [@arnoldparge](https://forum.ionicframework.com/u/arnoldparge)\
**Post date:** [August 2, 2017, 10:07am UTC](https://forum.ionicframework.com/t/view-is-not-updating/100503/3 "2017-08-02T10:07:18Z")

</div>

> [@khokhardheeraj](#):
>
> ChangeDetectorRef

Can’t find document for this?  
You sure this is part of ionic.  
If it is please provide some document link for that. I want to know more.

---

<div class="post-metadata">

**Author:** ![khokhardheeraj](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/khokhardheeraj/32/105880_2.png) [@khokhardheeraj](https://forum.ionicframework.com/u/khokhardheeraj)\
**Post date:** [August 2, 2017, 10:13am UTC](https://forum.ionicframework.com/t/view-is-not-updating/100503/4 "2017-08-02T10:13:07Z")

</div>

It is a part of angular.

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [August 2, 2017, 6:48pm UTC](https://forum.ionicframework.com/t/view-is-not-updating/100503/5 "2017-08-02T18:48:17Z")

</div>

You seem to have two contradictory notions of what `list` (oh how I hate meaningless property names like `list` and `data`) is supposed to be. First, it’s an array. Then it’s a `Data`.

---

<div class="post-metadata">

**Author:** ![jaydz](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jaydz](https://forum.ionicframework.com/u/jaydz)\
**Post date:** [August 3, 2017, 4:12am UTC](https://forum.ionicframework.com/t/view-is-not-updating/100503/7 "2017-08-03T04:12:08Z")

</div>

Thanks man. I’ll take solutions any way I can get em I guess
