i tried using SingleChildScrollView with a single TrackingScrollController.
my code is already very similar as of this documentation here
but the scrolls are still not scrolling together at all.
i also tried using multiple controller and use jumpTo to set the offsets.
but i gives me a stack overflow errors.
so my question is:
how do i properly implement the TrackingScrollController in a working code?
please provide me a working main.dart in the answers so i can run it and see if it works.
i am always seeing snipets of codes here and there and have no idea where to put what where.
Thank you very much.
Related
this is kind of a specific question but I am wondering if someone of you came across the same problem before.
What I am trying to do:
I am working on a jtl plugin.
To start off, the plugin should just run over the payments (the specific hook is active an works) and rename the description. Since I need to add more functionality later, all the stuff has to happen in the plugin (even though jquery would be easier for the former case).
In the shop system, the payments are set like this:
$smarty->assign('Zahlarten', $zahlarten);
In the plugin, I get all the payments like this:
$tmpPayments = $smarty->get_template_vars('Zahlarten');
I then loop over the array, doing specific changes. In the end, I want to add the payments back like:
$smarty->assign('Zahlarten', $tmpPayments');
And this is, what does not work. When I change the description and watch the variables in the phpstorm debugger, they are updated accordingly.
But after the page is loaded completely, the changes are not visible.
I know professional plugins that do it the exact way, and it works.
Changing the original array also does not help.
Also, deactivation caching does not work. Like this:
$smarty->assign('Zahlarten', $tmpPayments', true);
What works is:
$smarty->assign('Zahlarten_tmp', $tmpPayments');
But thats obviously not what I want, since I would have to change the template for that.
To wrap it up, it seams to me that there is some kind of caching going on which I can not figure out.
Does anyone has an idea or can point me to sources that might help?
Thanks in advance!
I finally came across the answer (hours later :P).
Root of the problem:
Some system source code far away from my actual context made its own calculations, leading to another
$smarty->assign('Zahlarten', $farAwayCalcs);
,thus overriding my changes.
Never underestimate stepping through the code with your favorite debugger. ;)
Cheers!
Various things are different in 1.0.136, e.g. running code with ctrl-enter has all sorts of strange behavior in an RMarkdown document, running code that has a syntax error somehow leads to all of the code being run in a block above (below?) the wrong code, etc. Sorry for not posting an MWE, but at the moment I just want to know if anyone is aware of these new "features" and if so how they can be turned off or better yet how I can just downgrade to the previous version of RStudio (which I can't currently find on the website).
Yes they changed some default settings that were present in the old interface.
Change the setting in markdown next to the knit button, from:
Chunk Output Inline -> Chunk Output in Console
Pictured here.
You can probably mess with the the Global Setting->Rmarkdowns under Tools to get it back the way it was before, but this was the fastest way for me.
When using App Code, autocomplete will only show results directly related to my struct. This is a great feature as it keeps everything very clean and I know that accessing these properties isn't going to give me an error.
Except I don't like App Code and it's non native looking UI.
In Xcode it's quite different. Why am I getting flatMap, map, description, debugDescription?
Obviously if its my own code, I know which properties/functions are okay to use, because I wrote them. I can just ignore the noise. But if I'm using someone else's library this can slow things down. Especially when I'm just guessing or trying to remember a function.
Is there a way to fix this — to have Xcode not show me functions/properties that I can't use?
It always shows default system objects properties if the object/class is not found.
It's the behavior of Xcode
I have been trying to get the example sky-shell to build and am failing at it.
I have tried in contiki-2.6 and contiki-2.7. I had thought that it's possibly the compiler itself being inefficient or something so when trying in contiki-2.7 I made sure to try msp430-4.5.3, 4.6.3 and 4.7.0 (using the answer to this forum question to switch mspgcc versions: https://askubuntu.com/questions/187253/how-to-update-a-package-from-command-line-gcc-compiler).
None of this seemed to help. I also tried compiling with "SMALL=0" but this seemed to only increase the overflow.
I then tried commenting out any code in sky-upload.c (such as shell_netfile_init(), shell_rim_init() and shell_rim_netcmd_init()). This seemed to reduce the compilation enough so that it would get past the overflow in compilation, but now it says that it has missing references in function vuprintf to __udivmodsi4. I tried researching this issue and it seems that I may somehow be using a different version of gcc for part of the compilation than what I currently think (forum post here: http://sourceforge.net/p/mspgcc/mailman/mspgcc-users/thread/D45E6EE7-2771-41EC-9999-F773C6B22AA4#imag.fr/)
I feel like the example should work with none of the above mentioned init() calls commented out. It also seems that to ultimately get the example to work as intended (i.e. send ELF files over the air to a mote and then load them) I can't have the above mentioned init() calls commented out and may need even more code on top of what is provided in the example.
I realize that there are two main questions here and typically a post only deals with one at a time, but since they are muddled together I thought it best to post both issues (the overflow and the missing references).
Does anyone know what may be going wrong here? I am a novice when it comes to all things contiki so please add extra explanation wherever possible :).
Thanks
I have solved my initial problem with statistics gathering, but now would like to present the data in some nice charts (much like the default ones already in CCNET). I have followed what I think is the correct way to do this, but still nothing shows up. Is there a working example that I can see working that anymore knows of?
Thanks in advance
Solved!
I just had to actually following the instructions, so I don't need help on doing this anymore.