Title: Error in populateFlicks fundtion of app/home/home-view-model.ts · Issue #4 · NativeScript/tutorials · GitHub
Open Graph Title: Error in populateFlicks fundtion of app/home/home-view-model.ts · Issue #4 · NativeScript/tutorials
X Title: Error in populateFlicks fundtion of app/home/home-view-model.ts · Issue #4 · NativeScript/tutorials
Description: In the definition of app/home/home-view-model.ts in the Home UI section there is an error in the populateFlicks function. It is defined as populateFlicks(): void { this._flicks = FlickService().getInstance().getFlicks(); } but should be ...
Open Graph Description: In the definition of app/home/home-view-model.ts in the Home UI section there is an error in the populateFlicks function. It is defined as populateFlicks(): void { this._flicks = FlickService().get...
X Description: In the definition of app/home/home-view-model.ts in the Home UI section there is an error in the populateFlicks function. It is defined as populateFlicks(): void { this._flicks = FlickService().get...
Opengraph URL: https://github.com/NativeScript/tutorials/issues/4
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error in populateFlicks fundtion of app/home/home-view-model.ts","articleBody":"In the definition of `app/home/home-view-model.ts` in the [Home UI](https://docs.nativescript.org/tutorial/plain.html#create-the-home-page) section there is an error in the `populateFlicks` function.\r\n\r\nIt is defined as\r\n\r\n```\r\npopulateFlicks(): void {\r\n this._flicks = FlickService().getInstance().getFlicks();\r\n }\r\n```\r\n\r\nbut should be \r\n```\r\npopulateFlicks(): void {\r\n this._flicks = FlickService.getInstance().getFlicks();\r\n }\r\n```\r\n\r\nThat is, FlickService should not be called.","author":{"url":"https://github.com/alecgregory","@type":"Person","name":"alecgregory"},"datePublished":"2022-05-16T15:50:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4/tutorials/issues/4"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5309978f-f015-3f25-dae2-0ba1276cf8cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D35C:65671:1F8CD36:28ED31F:69803E8B |
| html-safe-nonce | 0002174861987e5e66fe5d3b27621d7143267d3eeaefc28ce02e08004627b00a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzVDOjY1NjcxOjFGOENEMzY6MjhFRDMxRjo2OTgwM0U4QiIsInZpc2l0b3JfaWQiOiI0MjI4Mjc1MjM0NTc2Mjg1MzIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7a18c8d038b18a51fe252419cae872b5a53f4764e18472577d6ea9d750191de3 |
| hovercard-subject-tag | issue:1237360208 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/tutorials/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87cc3633107d135b902549c758431c3807fedaed06d8450365d80c9e93d1e339/NativeScript/tutorials/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87cc3633107d135b902549c758431c3807fedaed06d8450365d80c9e93d1e339/NativeScript/tutorials/issues/4 |
| og:image:alt | In the definition of app/home/home-view-model.ts in the Home UI section there is an error in the populateFlicks function. It is defined as populateFlicks(): void { this._flicks = FlickService().get... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alecgregory |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/tutorials git https://github.com/NativeScript/tutorials.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 429924063 |
| octolytics-dimension-repository_nwo | NativeScript/tutorials |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 429924063 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/tutorials |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width