Hey Respected Koder
I Need To Know How To Create A Type Of Polling Or Voting Future In Kodular Application With Database.
Hoping Suggestions And Solution
Thank You
Hey Respected Koder
I Need To Know How To Create A Type Of Polling Or Voting Future In Kodular Application With Database.
Hoping Suggestions And Solution
Thank You
You should use slider…
How…?
I Think Its Not Possible With Slider
I don’t know with database but let me try… I will share the aia for your referance if it would be possible…
Thanks For That
You can do it easily with dynamic components extension by @yusufcihan using horizontal arrangements and labels
First let him understand the simple logic.
Take a Horizontal Arrangement (That Will Work As The Poll Bar; Set All It’s Properties Accordingly, But Make Sure AlignHorizontal Property Is Set To Left) and Place a Label Inside it (That Will Work As The Poll Option; Set All It’s Properties Accordingly).
Change Label Width Percent According to the Progress - Percentage.
But i will Suggest a Overlapped Label.
As if Label got Poll Text, if it is to a Certain Level of Progress (Below The Width Of Label Text), Whole Text will Not Display Correctly.
So, At Last i will Suggest
A Horizontal Arrangement (Progress Bar) inside a Horizontal Arrangement (Poll Bar) and a Overlapped Label (Poll Text).
With Your Suggestions And Procedures
I Was Created This
When CardView Click Set HA Width + 1
It Working But It’s Offline
How Can I Make Online
I Mean How To Store Every User Click In DataBase
AFAIK you use Firebase DB
Suppose this is your Database -
Polls
----PollA
----------- A : 5
----------- B : 10
----------- C : 50
----------- D : 35
On Screen Initialization Call Values of Tag A, B, C, & D and when you Got the Values,
Set Progress of Your Poll.
And when a Option of Poll is Clicked (i Suggest to Call the Values Again or use Data Changed Event to Constantly Update the Poll) the Same Time Update the New Data To Firebase.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.