This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
// MAIN MAIN | |
struct ContentView: View { | |
@EnvironmentObject var appState: AppState | |
@EnvironmentObject private var toastCenter: ToastCenter | |
@StateObject private var flowFabric = FlowFabric() | |
var body: some View { | |
ZStack { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct UserDefaultsStorage: Storage { | |
func remove<T>(key: LocalKey, value: T) { | |
} | |
private let storage = UserDefaults.standard | |
func set<T>(key: LocalKey, value: T) where T : Codable { | |
storage.set(try? JSONEncoder().encode(value), forKey: key.rawValue) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inputContainer:{ | |
flex:0.16, | |
flexDirection:'column', | |
borderWidth: 1, | |
borderRadius: 7, | |
backgroundColor:"#e0ebeb", | |
borderColor: "#33333FFf", | |
padding: 10, | |
}, | |
inputText:{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_onFindCoordinates() { | |
try { | |
const granted = PermissionsAndroid.request( | |
PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION, | |
{ | |
'title': 'Location', | |
'message': 'test app access to your location' | |
} | |
); | |
if (granted === PermissionsAndroid.RESULTS.GRANTED) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<View style={{flexDirection:'row'}}> | |
<Text>Codak Theater, Loas Angeles, CA USA</Text> | |
<View style={{justifyContent:'flex-end', alignContent:'flex-end', alignItems:'flex-end',alignSelf:'flex-end'}}> | |
<Icon style={{justifyContent:'flex-end', alignContent:'flex-end', alignItems:'flex-end',alignSelf:'flex-end'}} onPress={this._onFollowLocation.bind(this)} name="map-marker" size={25}></Icon> | |
</View> | |
</View> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* | |
* @format | |
* @flow | |
*/ | |
import React, {Component} from 'react'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using RadiYous.DependencyServices; | |
using RadiYous.Droid.DependencyServices; | |
using System.IO; | |
using System.Threading; | |
using Xamarin.Forms; | |
[assembly: Dependency(typeof(ImageChache))] | |
namespace RadiYous.Droid.DependencyServices | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Frame x:Name="frame1" Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="1" BackgroundColor="{Binding ColorMessage}" HasShadow="false" CornerRadius="8" IsVisible="False"> | |
<StackLayout x:Name="stack1" Margin="0,-2,0,0" Padding="0, 0, 0, 0" Orientation="Horizontal"> | |
<Image | |
x:Name="cameraImage" | |
Source="{helpers:ImageResource RadiYous.Images.cameraIcon.png}" | |
WidthRequest="40" | |
HeightRequest="40" | |
HorizontalOptions="Start"/> | |
<Entry | |
x:Name="msgEntry" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:imgc="clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions" | |
x:Class="RadiYous.Pages.NewWallPage" | |
xmlns:local="clr-namespace:RadiYous;assembly=RadiYous" | |
xmlns:controls="clr-namespace:RadiYous.Controls;assembly=RadiYous" | |
xmlns:helpers="clr-namespace:RadiYous.Helpers;assembly=RadiYous"> | |
<ContentPage.Content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
</StackLayout> | |
<Frame Margin="20,0,20,0" Padding="20,0,20,0" x:Name="notificationLayout" | |
RelativeLayout.XConstraint="{ConstraintExpression Type=Constant, Constant=0}" | |
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView,ElementName=quickMessageLayout, Property=Y,Constant=20}" | |
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Factor=1.0, Property=Width}" | |
RelativeLayout.HeightConstraint="{ConstraintExpression Type=Constant, Constant= 50,Factor=1.0, Property=Height}" | |
CornerRadius="9"> | |
<Label x:Name="notificationLabel" Text="DFdfdfdfdfdf" HorizontalOptions="Center" VerticalOptions="Center" TextColor="Black" Font="18"></Label> | |
</Frame> |
NewerOlder