<script>
fetch('./data.json')
.then(function(resp){
return resp.json();
})
.then(function(data){
console.log(data.items[p].name.substr(7));
content=data.items[p].name.substr(7)
});
</script>
The Android architecture has the Main Thread AKA UI thread, which updates the UI after every 16ms frame.
No comments:
Post a Comment