Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all 204402 articles
Browse latest View live

Table view is not showing data

$
0
0

I have a table view and it is not showing my data. my data is Schedule class.
I have this class :
public class ScheduleTableViewSource : UITableViewSource
{
private Schedule[] school;

    public ScheduleTableViewSource(Schedule[] school)
    {
        this.school = school;
    }

    public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
    {
        var cell = new UITableViewCell(UITableViewCellStyle.Default, "");
        cell.TextLabel.Text = Convert.ToString(school[indexPath.Row]);
        return cell;
    }

    public override nint RowsInSection(UITableView tableview, nint section)
    {
        return school.Length;
    }
}

and this is how I use it :
partial void Get_button_TouchUpInside(UIButton sender)
{

        bool check = NetworkInterface.GetIsNetworkAvailable();
        if(check)
        {

            Service1 client = new Service1();
            var school = client.CypressRidge("CypressRidge");
            SchoolSchedule.Source = new ScheduleTableViewSource(school);

        }
        else{
            Console.Write("Error no Internet connection");
            return;
        }
     //   int stop =0;

    }

the constructor is called but not the other two functions and table is blank.


Should iPhone Simulator Work with Visual Studio 15.5.1?

$
0
0

Just updated to 15.5.1 because I could not get the iPhone Simulator working with Visual Studio 15.5, but I still am getting this very meaningful error message.

Launching 'CustomFont.iOS' on 'iPhone 6 iOS 11.2'...
Cannot start process because a file name has not been provided.

美国毕,业证学位文,凭薇信596,403,686#办理美国ODU假毕,业证〖怎样办理欧道明大学毕,业证】哪里可以买美国大学毕,业证|办理ODU成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国ODU假毕,业证〖怎样办理欧道明大学毕,业证】哪里可以买美国大学毕,业证|办理ODU成绩单

custom tableview not work

$
0
0

ok I am doing what this guy is doing :image
but my label names are not showing up in my class and I do not know why. It works for him.
I get The name 'NameLBL' does not exist in the current context

public partial class ScheduleCell : UITableViewCell
{
public ScheduleCell (IntPtr handle) : base (handle)
{
}

    internal void updateCell(Schedule school1)
    {
        NameLBL.text = school1.Name;
    }
}

see
so why is it not working ?

美国毕,业证学位文,凭薇信596,403,686#办理美国UNV假毕,业证〖怎样办理北弗吉尼亚大学毕,业证】哪里可以买美国大学毕,业证|办理UNV成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国UNV假毕,业证〖怎样办理北弗吉尼亚大学毕,业证】哪里可以买美国大学毕,业证|办理UNV成绩单

美国毕,业证学位文,凭薇信596,403,686#办理美国UW假毕,业证〖怎样办理华盛顿大学毕,业证】哪里可以买美国大学毕,业证|办理UW成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国UW假毕,业证〖怎样办理华盛顿大学毕,业证】哪里可以买美国大学毕,业证|办理UW成绩单

Custom fonts and Live Player

$
0
0

Custom fonts don't seem to render on the Live Player

美国毕,业证学位文,凭薇信596,403,686#办理美国CWU假毕,业证〖怎样办理中央华盛顿大学毕,业证】哪里可以买美国大学毕,业证|办理CWU成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国CWU假毕,业证〖怎样办理中央华盛顿大学毕,业证】哪里可以买美国大学毕,业证|办理CWU成绩单


how would i show images in thumbnail view please someone help me

$
0
0


see the image ,as shown like in image i need in my pcl project ,thank you

美国毕,业证学位文,凭薇信596,403,686#办理美国BYU假毕,业证〖怎样办理杨百翰大学毕,业证】哪里可以买美国大学毕,业证|办理BYU成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国BYU假毕,业证〖怎样办理杨百翰大学毕,业证】哪里可以买美国大学毕,业证|办理BYU成绩单

美国毕,业证学位文,凭薇信596,403,686#办理美国AAU假毕,业证〖怎样办理爱荷华大学毕,业证】哪里可以买美国大学毕,业证|办理AAU成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国AAU假毕,业证〖怎样办理爱荷华大学毕,业证】哪里可以买美国大学毕,业证|办理AAU成绩单

美国毕,业证学位文,凭薇信596,403,686#办理美国CU假毕,业证〖怎样办理克瑞顿大学毕,业证】哪里可以买美国大学毕,业证|办理CU成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国CU假毕,业证〖怎样办理克瑞顿大学毕,业证】哪里可以买美国大学毕,业证|办理CU成绩单

android apk upload not working because name not valid

$
0
0

I have signed and zipalign my android application and now wishes to upload it on the play store. I however get the following message when I am done uploading it:

Upload failed Your APK's package name must be in the following format "com.example.myapp". It may contain letters (a-z), numbers, and underscores (_). It must start with a lowercase character. It must be 150 characters or fewer.

My apk name is

dd.afm.aftermath.apk

So I don't understand why it does not comply?

Thanks in advance

美国毕,业证学位文,凭薇信596,403,686#办理美国 SBU假毕,业证〖怎样办理纽约州立大学石溪分校毕,业证】哪里可以买美国大学毕,业证|办理SBU成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国 SBU假毕,业证〖怎样办理纽约州立大学石溪分校毕,业证】哪里可以买美国大学毕,业证|办理SBU成绩单

美国毕,业证学位文,凭薇信596,403,686#办理美国 FIT假毕,业证〖怎样办理流行设计学院毕,业证】哪里可以买美国大学毕,业证|办理FIT成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国 FIT假毕,业证〖怎样办理流行设计学院毕,业证】哪里可以买美国大学毕,业证|办理FIT成绩单


Cannot run IOS project using VisualStudio(Professional)for Mac

$
0
0

I am getting error below when I start IOS project in VS2017 professional. Any ideas will be appreciated.

/Users/alexkoranteng/Projects/Today11/iOS/Today11.iOS.csproj(11,11): Error MSB4226: The imported project "/Library/Frameworks/Mono.framework/Versions/5.4.1/lib/mono/xbuild/Xamarin/iOS/Xamarin.iOS.CSharp.targets" was not found. Also, tried to find "Xamarin/iOS/Xamarin.iOS.CSharp.targets" in the fallback search path(s) for $(MSBuildExtensionsPath) - "/Library/Frameworks/Mono.framework/External/xbuild/" and "/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/docker/MSbuild" . These search paths are defined in "/Users/alexkoranteng/Library/Caches/VisualStudio/7.0/MSBuild/276_1/MonoDevelop.Projects.Formats.MSBuild.exe.config". Confirm that the path in the declaration is correct, and that the file exists on disk in one of the search paths. (MSB4226) (Today11.iOS)

美国毕,业证学位文,凭薇信596,403,686#办理美国 Hunter假毕,业证〖怎样办理亨特学院毕,业证】哪里可以买美国大学毕,业证|办理Hunter成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国 Hunter假毕,业证〖怎样办理亨特学院毕,业证】哪里可以买美国大学毕,业证|办理Hunter成绩单

Is ImageSource.FromResource() working for UWP ?

$
0
0

The call of ImageSource.FromResource() from a UWP application

var imgSource = ImageSource.FromResource(resourceName);

throws the following exception:

Exception thrown: 'System.Reflection.TargetException' in System.Private.CoreLib.dll

On Android and iOS it works fine. The ImageSource.FromResource() call is located in a NetStandard 2.0 class library, the application uses the latest Xamarin.Forms release. Is there any workaround necessary to get it working on UWP (Windows 10 Fall Creators update) ?

Xamarin Form Master Detail page - Detail page title is not centre aligned in android

$
0
0

Hi,

I have masterdetail page in Xamarin forms app, Detail page title is not centre aligned in android and ios its showing proper centre aligned titled. Can anyone knows this?

Cannot debug in UWP only

$
0
0

Hi, I cannot find a solution for that. I got a small xamarin forms project and I can set breakpoints and debut in IOS simulator and Android simulator. But If I choose UWP-x86-Local Machine, the project start but all my breakpoints are ignored (no symbols have been loaded for this document). I delete the BIN and OBJ folder of my UWP project, clean and rebuild, same problem....

I am on VS2017 Xamarin.forms 2.4

Any suggestion?

Viewing all 204402 articles
Browse latest View live