ViewPager in MvvmCross 3.0.14 - mvvmcross

I saw examples of using ViewPager in MvvmCross on https://github.com/Cheesebaron/Cheesebaron.MvvmCross.Bindings.
I am using MvvmCross 3.0.14.
In that link which version of MvvmCross is used.?
If I want to use ViewPager in My MvvmCross 3.0.14.,then what changes should I make into that example?

according to the history, there has been attempted binding fix with version 3.0.7, but without testing; Have you tried to run it with your project and see what happens?

Related

TagHelpers Intellisense not working with dnx46 in vNext beta8

I am not able to get TagHelpers Colorization and Intellisense to work in ASP.NET vNext WebToolsExtensionsVS14 Beta 8 when using the dnx46 framework.
NOTE: The project does build, run and TagHelpers are correctly processed on the server. This issue only affects design-time.
Steps I used:
File >> New Project - with the default project options (using .Net Framework 4.6) and Web Application template:
View the _Layout.cshtml, _ViewImports.chhtml, and project.json as follows:
Colorization and Intellisense is working
Modify the project.json frameworks from "dnx451" to "dnx46" and save. Allow the references to update. Close the _Layout.cshtml. Rebuild the solution.
View the _Layout.cshtml:
Colorization and Intellisense NOT working
Questions:
Is anyone else having this issue?
Has anyone figured out a work around?
Known issue. It's being tracked here
This issue has been resolved in the RC1.
https://docs.asp.net/en/latest/getting-started/installing-on-windows.html

Cirrious.MvvmCross.ExtensionMethods not found in nuget Hot Tuna Starter Pack

I'm trying to develop my first application using mvvcross. I'm following this tutorial http://slodge.blogspot.co.uk/2013/04/n0-first-mvvmcross-application-n1-days.html but I don't know why can't use in my code this namespace Cirrious.MvvmCross.ExtensionMethods
To add all project's references I'm using Nuget and the version of Hot Tuna Starter Pack is 3.0.10
In this page, http://monodeveloper.org/uncategorized/building-cross-platform-mobile-applications-in-visual-studio-using-xamarin-and-azure-mobile-services/ there is a mvvmcross example, and if I download the source code and add the references that this project is using in the References folder, I can use extensions :(
Like this:
var activity = this.GetService<Cirrious.MvvmCross.Droid.Interfaces.IMvxAndroidCurrentTopActivity>().Activity;
What is the problem? Maybe related with PCL assemblies?
Thanks in advance!
The this.GetService<T> style of service resolution was replaced with simple Mvx.Resolve<T> calls and with constructor based dependency injection in MvvmCross v3.
For more information on this, see https://github.com/slodge/MvvmCross/wiki/Service-Location-and-Inversion-of-Control

How to integrate Swing into JavaFX Applications?

I have known how to embed JavaFX content into Swing applications according to this Oracle Tutorial.
But now I want to add some Swing components to the JavaFX Scene. Is there any ideas about that?
Regards,
Qin
now it's possible to do that
what you need now is install jdk 8
because swing content in javafx is introduced in jdk8
#FXML
private SwingNode swingNode;
...
JasperPrint jasperPrint = JasperFillManager.fillReport(FileName, hash, connect);
swingNode.setContent(new JRViewer(jasperPrint));
oracle just add tutorial for this too
for the next you can follow this link
oracle tutorial embed swing in javaFX
I think it is not possible in JavaFX 2.*, but some people hava worked on it. Take a look here : http://www.jroller.com/neugens/entry/embed_swing_inside_javafx_2 . Maybe you will find what you want. :)

VerifyError: Error #1014: class could not be found

I'm developing AS3 project using Flash Builder 4.5 (also with library Away3D 4.0 and Flex 4.5.1 SDK).
Also, I add my own SWC library, which I compile previously into my project.
It works find if I import class in my SWC library, however I want my swf run in a stand-alone flash player 11.
I follow this tutorial:
http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb5-4dd43be212e8f90c222-7ffb.html
Now, I could run my app in a flash player 11, but I got an error in run time:
VerifyError: Error #1014: XXX class could not be found
And XXX is my class in SWC library. How should I fix this?
Merged into code means this, in project properties -> Flex Build Path -> Library Path -> Framework Linkage. Framework lingage has two options Merged into code and RSL. Chose Merged into code. This should solve your problem.
We had this problem when trying to build a project using a Native Extension.
Classes within the NE weren't being found at runtime, but were accessible in Flash Builder.
It turned out that by default the .ANE file wasn't copied to the device.
To fix this, change the following project property:
ActionScript Build Packaging -> Apple iOS -> Native Extensions -> Check 'Package' for the ANE
No idea why it wasn't included by default. When you uncheck 'Package' you get a warning telling you that it may cause runtime issues!
In my case, we had a nested reference to the same library which needed to load before the other library also using it. This fix can be accomplished by unchecking the 'Automatically determine library ordering based on dependencies' and moving the library up in the chain of Build path libraries. Flash Builder was unable to determine the correct order base on dependencies because we had 2 different versions of the same library. The error would only happen during run time.
I had this problem after installing AIR 3.9 and trying to upgrade a project.
It was also saying there was an RSL error, before throwing a succession of #1014 errors.
It worked after I set the textLayout.swc link type in Advanced ActionScript Settings to 'merged into code' instead of the default (RSL)
Hope this helps!
Since I landed on this page searching for this error message and none of the above solutions worked for me, here's how I finally managed to work around it:
It seems that this error happens particularly when you include old libraries that were compiled with the old compiler but compile your app with the new one. Unfortunately the error sometimes fires and when you compile again it doesn't; at other times it works fine in the debug version but then it fails in the release.
What worked for me is to include dummy objects in your main app which are instances of the class that the verify error complains about:
import some.classpath.to.TheClassThatFailsOnVerify;
function YourMainApp(){
var dummy:TheClassThatFailsOnVerify = new TheClassThatFailsOnVerify ();
}
At least in my case the errors only fired for classes that were not used directly in the app but only internally in the swc library code, so by having the dummy objects in the main app I force Flash Builder to include those classes in the compilation.
In some cases you might have to first find the swc that contains the class in question since it's not part of the library swc you use but it's again a library that that swc uses itself.

The definition of base class ByteArrayAsset was not found

I'm using FlashDevelop4.0.0 RC1 to create AS3 library project, in which I want to import Away3D library. I follow this tutorial to set up my FD.
http://www.mclelun.com/blog/2011/08/flashdevelop-stage3d-away3d/
However, FD generate error message when I use ExportSWC4.2 plugin to compile the project, I got error message said that
at away3d\materials\methods\TerrainDiffuseMethod_NormalizeKernel.as(10): The definition of base class ByteArrayAsset was not found
Can anyone help me with that? Thanks!
p.s.
I also have issue like the following link
http://sourceforge.net/tracker/index.php?func=detail&aid=3401191&group_id=252536&atid=1127375
not sure if it's related to my problem.
Are you downloading the zip package from http://away3d.com/download/ or accessing via SVN / GIT?
http://away3d.com/images/uploads/releases/away3d_4_0_110915.zip
Not sure about their GIT, but I found the SVN repo dated.
I did not see ByteArrayAsset anywhere in the inheritance chain within my version:
away3d.materials.methods.TerrainDiffuseMethod
away3d.materials.methods.BasicDiffuseMethod
away3d.materials.methods.LightingMethodBase
away3d.materials.methods.ShadingMethodBase
mx.core.ByteArrayAsset is an Adobe class.
There's a NormalizeSplats Pixel Bender linkage, but I did not see any Normalize Kernel.
I'd recommend grabbing the Broomstick ZIP package - I had no issues building the SWC with Flash Builder targeting Flash Player 11.