Comments (16)
Have you init the plugin in AppDelegate?
from rg.plugins.popup.
@VikasN0204 Hello friend. Please, give me source code or link of you repository
from rg.plugins.popup.
@acaliaro , Yes.I have added Popup.Init() in Appdelegate. I follow all instruction mentioned in the example.
@rotorgames , Sorry I cant give the original code. But I can create a sample project and give it to you which is similiar to the my project. It will fine for you.
from rg.plugins.popup.
@rotorgames , Sorry I cant give the original code. But I can create a sample project and give it to you which is similiar to the my project. It will fine for you.
@VikasN0204 Ok. Write me when create repository.
from rg.plugins.popup.
@rotorgames
https://github.com/VikasN0204/FormsiOSAndroid
I am new to Github. I have uploaded my repository. If you unable to get my repository,let me know, I will sent it again.
from rg.plugins.popup.
@VikasN0204 Your repository is empty. Please add files in your repository
from rg.plugins.popup.
@rotorgames ,
https://github.com/VikasN0204/FormsiOSAndroid >> bizzmapp.rar. Its a sample App.
Can you try once again.
from rg.plugins.popup.
@VikasN0204 This error is fix in 1.0.0.pre5.
Error throw because Content
in PopupPage is empty.
You need create view and add is in Content before call PushPopupAsync
from rg.plugins.popup.
@rotorgames ,
If i upgrade to 1.0.0.pre5, still do i need to create view.
I am not getting you about creating view. I have 2 xaml page i.e on 1 xaml's click button i am calling 2nd xaml page which is similar to you sample project.
I am new to xamarin. Could you elaborate . Thanks.
from rg.plugins.popup.
@VikasN0204 This ticket only for Rg.Plugins.Pupup issues. You need stady Xamarin.Forms documentation before.
from rg.plugins.popup.
@rotorgames ,
Thanks . Do i still need to add view, if i upgrade to 1.0.0.pre5 ( i have 0.0.17 currently). Because when i refer your sample and run that at my end, it worked. It is a simple code and no view created. So i got confused and wanted to know regarding to it. As i have to call the firstPopuppage from Mainpage. I have integrated plugin to all projects.
from rg.plugins.popup.
@VikasN0204 You code is ok. You need create Content
or update `1.0.0-pre5' for error not throw.
from rg.plugins.popup.
@rotorgames , Thanks, Ok where do i need to create Content . My CategoryVideoView is content page & its on its button click , i am calling below method.
private async void RightPopup()
{
try
{
var page = new RightPopupPage();
await Navigation.PushPopupAsync(page);
}
catch (Exception ex)
{
string mssg = ex.Message;
//throw;
}
}
and RightPopUp page is inherited from PopupPage. Even PopupPage itself inherited from content Page.
PopupPagexaml.cs
public partial class RightPopupPage : PopupPage //: ContentPage
{
public RightPopupPage()
{
//InitializeComponent();
this.BackgroundColor = Color.FromHex("#2B78E4");
}
}
I am still clueless ? Do you mean inside xaml, i have to add <Content.page> </Content.page> tag around my controls.
from rg.plugins.popup.
I am still clueless ? Do you mean inside xaml, i have to add tag around my controls.
Yes or do:
public RightPopupPage()
{
//InitializeComponent();
this.BackgroundColor = Color.FromHex("#2B78E4");
Content = new ContentView();
}
}
But if you use xaml page, you need invoke InitializeComponent
in constructor.
from rg.plugins.popup.
@rotorgames Thanks. I will check at my end.
from rg.plugins.popup.
@rotorgames , After including your code, the project doesn't not throw any error but also doesn't show up the popup at all. I can only see gray screen.
from rg.plugins.popup.
Related Issues (20)
- Memory leak when pushing and poping a page many times HOT 1
- UWN problem HOT 1
- Popup window disappears when owner window is resized
- Prevent clicking "Out of popup" HOT 1
- Lottie animation randomly shows or not in Popup while using nuget version 2.1.0
- MoveAnimation does not work on iOS
- iOS: Mirrored screen: The pop up may only appear on the external display HOT 4
- Close Button Click Event HOT 1
- Webview input covered by keyboard on Android 13
- Additional Margin space on iOS
- HasKeyboardOffset=false does not work on iOS. When the keyboard is opened, the page does not go up.
- Q: Android API 33 - OnBackPressed obsolete HOT 1
- EXC_BAD_ACCESS (SIGSEGV)
- Rg.Plugins.Popup.Exceptions.RGInitialisationException: 'You MUST call Rg.Plugins.Popup.Popup.Init(); prior to using it.
- System.MissingMethodException: No constructor found for Rg.Plugins.Popup.Droid.Renderers.PopupPageRenderer
- MAUI: Pop up page is not loading on Button click (Android Platform)
- Xamarin UWP release
- Inquiry Regarding Privacy Policy in Rg.Plugins.Popup
- I have a problem where the keyboard closes when I move the focus from Entry 1 to Entry 2.
- ImputSoft Android on PopupPage not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rg.plugins.popup.