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
<profile> | |
<id>kotlin</id> | |
<activation> | |
<file> | |
<!-- To enable Kotlin, add the following file to the project base dir --> | |
<exists>${basedir}/src/main/kotlin</exists> | |
</file> | |
</activation> | |
<properties> | |
<kotlin.version>1.4.32</kotlin.version> |
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
package com.codename1.demos.googlemaps; | |
import com.codename1.components.FloatingActionButton; | |
import com.codename1.components.InteractionDialog; | |
import com.codename1.components.ToastBar; | |
import com.codename1.googlemaps.MapContainer; | |
import com.codename1.googlemaps.MapContainer.MapObject; | |
import com.codename1.io.Util; | |
import com.codename1.maps.BoundingBox; | |
import com.codename1.maps.Coord; |
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
#!/bin/bash | |
JARPATH="$1" | |
MIN="$2" | |
if [[ "$JARPATH" == "" ]] || [[ "$MIN" == "" ]]; then | |
echo 'This script will scan the classes in a jar file, and print the ones whose ' | |
echo 'bytecode versions are greater than a given value.' | |
echo '' | |
echo 'Usage bash bcversions.sh JARPATH MAXVERSION' |
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
package com.example.materialtheme; | |
import com.codename1.components.InfiniteProgress; | |
import com.codename1.ui.CN; | |
import com.codename1.ui.Component; | |
import com.codename1.ui.Container; | |
import com.codename1.ui.Form; | |
import com.codename1.ui.layouts.BorderLayout; | |
import com.codename1.ui.plaf.Border; |
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"?> | |
<border view-controller="com.example.tweetapp.controllers.HomePageViewController" | |
xsi:noNamespaceSchemaLocation="HomePage.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<title hidden="true"/> | |
<use-taglib class="com.codename1.twitterui.TagLibrary"/> | |
<import> | |
import com.example.tweetapp.providers.NewsFeedProvider; | |
</import> |
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
package com.example.tweetapp; | |
import static com.codename1.rad.util.NonNull.with; | |
import static com.codename1.ui.CN.*; | |
import com.codename1.rad.controllers.ControllerEvent; | |
import com.codename1.rad.nodes.ActionNode; | |
import com.codename1.rad.ui.ActionStyle; | |
import com.codename1.twitterui.models.TWTUserProfile; | |
import com.codename1.twitterui.models.TWTUserProfileImpl; |
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
package com.example.tweetapp.controllers; | |
import com.codename1.components.InfiniteProgress; | |
import com.codename1.components.ToastBar; | |
import com.codename1.rad.controllers.Controller; | |
import com.codename1.rad.controllers.ViewController; | |
import com.codename1.rad.nodes.ActionNode; | |
import com.codename1.rad.util.NonNull; | |
import com.codename1.twitterui.models.TWTUserProfile; | |
import com.codename1.twitterui.models.TWTUserProfileImpl; |
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
package com.example.tweetapp.services; | |
import com.codename1.io.Preferences; | |
import com.codename1.rad.util.NonNull; | |
import com.codename1.util.AsyncResource; | |
import java.util.Date; | |
/** | |
* A client for interacting with the server. |
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"?> | |
<border view-controller="com.example.tweetapp.controllers.LoginPageViewController" | |
uiid="SignupPage" | |
safeArea="true" | |
componentForm.formBottomPaddingEditingMode="true" | |
xsi:noNamespaceSchemaLocation="LoginPage.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<define-category name="LOGIN"/> |
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"?> | |
<border view-controller="com.example.tweetapp.controllers.SignupPageViewController" | |
uiid="SignupPage" | |
safeArea="true" | |
xsi:noNamespaceSchemaLocation="SignupPage.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<define-category name="NEXT"/> | |
<define-category name="USE_PHONE"/> | |
<define-category name="USE_EMAIL"/> |