What I did in the project was not saved

**I closed the block editor after I finished programming the project and exporting the apk file, and when I opened the project again after an hour had passed to make some modifications, I discovered that nothing had been saved and everything I had done was lost and does not exist , I repeated what I did again, but the server does not save anything in the project


**

Where is your last .aia export?

https://drive.google.com/file/d/1snsWLdn-Pqj30YPV0KplV2yzp49wPGY2/view?usp=sharing

Problem accured with SCREEN 7

Only in screen7 you a re using 41 Clock components, 16 components of the same extension ClickZ and 21 Notifiers....with 20K blocks...Are you sure you cannot reuse components?

3 Likes

what do you mean by reusing components ? .. Everything was going well until I made some adjustments on timer 8 and 9

20k blocks is too much for only one screen...maybe you can use procedures, or redesign some steps...and 41 clocks? may be you can use the same clock for two or more different purposes?

2 Likes

But what I know there is no limit for using blocks or components

  • Reduce your block count:
    • Use parametrized procedures for common code
    • Use Media text files instead of big clumps of text blocks
    • Use generic blocks instead of repeating component event blocks
    • Encode repeating decision patterns into lookup tables loaded from Media csv text files (does your blocks image look like a box of combs?)
    • You don't need a component for every data instance. Reuse those components.
    • If you can't fit data into a ListView or List Picker, show a small subset of the data in an Arrangement and slide it across the larger list of data.

...

3 Likes

At a quick glance, this block looks more or less the same and they do probably the same thing

not much difference between these blocks either

If you do things right, you can easily cut 10,000 blocks from your project

2 Likes

Initially, I have shortened some of the duplicate blocks using procedures, and I will reduce the number of blocks. It seems that the problem has been solved and the project has returned to working normally. Thanks to all

Is there a tutorial that I can use to understand these points?

1- Use Media text files instead of big clumps of text blocks

2- Encode repeating decision patterns into lookup tables loaded from Media csv text files (does your blocks image look like a box of combs?)

Sample projects:

https://groups.google.com/d/msg/mitappinventortest/656oDTQeomU/7-WNXaxBGwAJ

https://groups.google.com/d/msg/mitappinventortest/G20UeeX8M-A/hidVyiwVCAAJ

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.