Blackberry - Custom Grid layout - blackberry

I need to implement a custom Calendar similar Blackberry native Calendar. I need to mimic almost the same as we see Month view on native Calendar. I tried GridFieldManager, but that doesn't have that much flexibilities. I just went through this site and tried to mimic kind of Calendar view, but I am seeing problem that I need to display the grid lines in a different color and text inside the grids in a different color.
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/How_To_-_Create_a_rich_UI_layout_with_TableLayoutManager.html?nodeid=1906675&vernum=0
Could you please share your thoughts and guide me?
thank you,
Ramesh S

Related

Xamarin iOS project need suggestion

I am developing a survey app using Xamarin and Mvvmcross. Can some one help with suggesting a way to build a View to display questionnaire. These questionnaire will be supplying from my View Model as a List of question with Question Text, Answer options. Based on a flag I need to prompt the questionnaire with input type as drop down or Text boxes. Number of questions can be vary.
In Android I achieved it using MvxGridView and Layout templates. But not sure how to do it in iOS.
You could look up UITableView or UICollectionView and UITextFields and UIPickerView
Wellcome to Xamarin, about your question you can just take look the code I wrote for others, it's a tableview include custom cell to display images, you can just modify the MyTableCell.cs class to display anything you want.
Custom cell tableview(Xamarin.iOS)
If you still need some help, just leave it here, I will check latter.
Hope it can help you.

Xamarin Forms iOS - PickerView with Multi Row Selection

I am using Picker for displaying the items,I want to select multiple rows in picker, is there any way to achieve this in Xamarin Forms shared code or through rendering? any suggestion or idea would be much appreciated.
Thanks.
I don't would use Picker for multilselection.
You can do this with a ListView (100% XF-Code).
I have posted some code some time ago in the XF-forum:
http://forums.xamarin.com/discussion/17885/multiselect-listviews
If you have to show the "Multiselect-ListView" from a ScrollView, you may also be interested to use the PopUp-Control (XLabs):
https://forums.xamarin.com/discussion/33587/how-to-use-a-listview-in-a-scrollview-with-xlabs-popup-control#latest
And finally, if you want to install the XLabs-NuGet, a further posting to XLabs may help you (search for "How to install, setup and use XLabs" in the XF-forum).
As i don't have more than 10 rep-points here, I am not able to post more then two links :-)
Hope this helps...
No there isn't.
The Picker Class, has SelectedIndex property, but no SelectedItems collection. Also, the native control under the hood on iOS doesn't support selecting multiple rows and I don't think the Android or Windows one do either.
You could create use a Custom Renderer if there was a native control you wanted to use. But, it would probably be easier to use a ListView control and add some events and style it to look and behave like you want.

Spinner in iOS, like in Android

I am very first time developing the Spinner in iOS.
I searched a lot for default Spinner view in iOS, but failed.
What I get is, two ways to design spinner like view in iOS.
UIPickerview
Custom TableView which will be displayed on Click of DownArrow Button
I found the tutorial for UIPickerview.
But There are some OS orientation for this,
Means I want the UIPickerview in different Look & feel with selection style, also Scrolling of picker is not as I want.
So I was thinking to go for second options.
But Is there any other superior way to achieve this task,
As I think the second option is GOOD, but NOT BEST.
What I want is like the image below, its from Android,
I want to go for the same in iOS.
Thanks for help..
I think what you are looking is here
But I use RMPickerViewController which is more powerfull.

How to use setOffscreenPageLimit in UIScrollview in iOS

I want to implement ViewPager functionality in iOS. For example, scrollview is having 10 images. When the user is on his current page, we need to show some extent of either side of pages.
Like In android, View Pager is having a method like, setOffscreenPageLimit. It did the same usage.
This is example in android
android ViewPager customizable
How can I implement the same functionality in iOS.
Please suggest me.
I solved my issue with the help of following link.
http://cases.azoft.com/creating-image-gallery-ios-apps-uiimageview/
Hope this link is useful for others.

Implement the Picker as Slot Machine in Native IOS SDK

I want to make a custom Picker view as follow:
I Search a lot & google also but I can't able to achieve this.
My picker content is UIVIew not image view.
But the search only gives me Image not for UIView.
Please Help me to solve this.
Thank you,
Try downloading this project. I believe its exactly what you are looking for
https://github.com/timburks/iPadSlotMachine

Resources