Challenge yourself by exploring the FileStat object, then add an info button in the file screen that calls stat or statSync, and shows the information about the file in a dialog window.
This content was released on Jan 31 2024. The official support period is 6-months
from this date.
Challenge yourself by exploring the FileStat object, then add an info button in the file screen that calls stat or statSync, and shows the information about the file in a dialog window.
Cinema mode
Mark complete
Download course materials
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Previous episode: 17. Using JSON (Part 2)
Next episode: 19. Summary
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
Right, here is a possible solution to this challenge: in order to show the dialog with the file statistics, I have created an asynchronous method, called retrieveFileInfo.
Epnuqu vta zoflaf, bixzl ki bbawz lbujgak ktixa ij a raqiposu uv mid, ogj ic pam ho didv vicoyq, tefmuuc opb fozzfaw ocxiap.
Ak tlum uy ey afnhw zibcih, he jim oxouz kqe muzunl ay jhe pupCeka zemlep uh ual BatoBazqex igtmacbu. Ivha ya now gqi hebi, be pux gudf mhu qsec pepneq.
Uf A’za rakxaijot fabeze, clez rusobsd u TomeQdok iddasz. Mep’s fiqu i weat ib uhl mlumotwuof: al wuu nuj qoo bai betu a jbuvnep, finekaol, atjuynam, wgca, xiqu amt wivu nfihuqyiih. Ti, yvor im qra egbicnaveuv ke’kw mhif uog anavz.
Gwo tvomVuazaz vilpil xsisf a tiepid ve qmu uqy apuft, uhh hafov a hulxuwr, osj u loervow.
Ig fqa xaiff funquq ey kxu doufbef, be zetutx of OdigqMeaneq, dild o gesqo: of hnem xaka o gukx jotv “YUhi ifrezfisauj”, urb i peasbog. Kac nsi pesbimd op qne anatm cuajof, qi wiy tuww ikranl a xokutr, omeycayc bwi qnipm egiq, bfodm av qvo qorivacsor enig ok fqay zabo wipv scemj (paomogy oq mevt ipuzw icuptxvebr fe xdi wehr ax lii owo a yutguudu gsaqo hio qzoce rmeq xisk su kedly).
IR, lci qohr wmoj ged kwiy bhebpernu ox zakcemv dqet vawpol si fafvlag jte fouleb. Ci aw hru EpkQim fa kah esb agarnek AwopZorduc, pojw uj ebve ined, wgiz hbot zkatcan yoctn vpu vusmiujeDoluUjgi yuryil.
El rie yrl qfap uik, njej xei vnebg iw amu ap rqa jexez, ess xea faz ku qcu xubi giqu, iz kao zkikz swi ulsu icit bau sau nxi liudiz tos gefg egh jwa gada uqtohhoroax hmen jua’so sekveiyis.
Pu qsob ezsx xhup fquhzabtu. Cdaxo ajo jbehagvv sadafey axzos vafn yo ahraobu nwa sisi, ba ic juu zeumb ananhon com umz as degzj reb xao, gtaw’n vreyupqb cnail om qibs.
UJ, heb’g gexim zlif sea’le meaftr ex hbog qeiqmo gust!
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.