Postagens

Android RecyclerView like iOS UITableView

Imagem
ANDROID RecyclerView https://developer.android.com/reference/android/support/v7/widget/RecyclerView.html Java 1 - Create project Android Studio 'SimpleRecyclerView' 2 - Setup Gradle build.gradle ( Module : app ) compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support:recyclerview-v7:25.3.1' 3 - Add Recyclerview to xml activity_main.xml <? xml version = "1.0" encoding = "utf-8" ?> < RelativeLayout xmlns: android = "http://schemas.android.com/apk/res/android" xmlns: tools = "http://schemas.android.com/tools" android: layout_width = "match_parent" android: layout_height = "match_parent" tools: context = "androidlikeios.com.simplerecyclerview.MainActivity" > < android . support . v7 . widget . RecyclerView android: id = "@+id/recyclerview" android: layout_width = ...

Android, iOS - Lifecycle

Imagem
ANDROID lifecycle https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/TheAppLifeCycle/TheAppLifeCycle.html -- IOS lifecycle https://developer.android.com/reference/android/app/Activity.html

Android Sharedpreferences like iOS Userdefaults

Imagem
ANDROID Sharedpreferences https://developer.android.com/reference/android/content/SharedPreferences.html //create var public static final String MY_PREFERENCES = "MyPrefs" ; public static final String MY_PREFS_NAME = "nameKey" ; public static final String MY_PREFS_FIRST_ACCESS = "firstAccessKey" ; private SharedPreferences sharedPreferences ; //initialize sharedPreferences = getSharedPreferences ( MY_PREFERENCES , MODE_PRIVATE ); //get boolean sharedPreferences . getBoolean ( MY_PREFS_FIRST_ACCESS , true ) //update boolean value SharedPreferences . Editor editor = sharedPreferences . edit (); editor . putBoolean ( MY_PREFS_FIRST_ACCESS , false ); editor . apply (); //get value string sharedPreferences . getString ( MY_PREFS_NAME , "" ); //key, default value //update string value SharedPreferences . Editor editor = sharedPreferences . edit (); editor . putString...

Android BottomNavigationView like IOS TabBar

ANDROID BottomNavigationView https://developer.android.com/reference/android/support/design/widget/BottomNavigationView.html IOS  TabBar https://developer.apple.com/reference/uikit/uitabbarcontroller

Android .APK like IOS .IPA

ANDROID APK https://developer.android.com/google/play/expansion-files.html IOS  IPA https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/DistributingEnterpriseProgramApps/DistributingEnterpriseProgramApps.html

Android, IOS - User notifications

ANDROID User notifications https://developer.android.com/guide/topics/ui/notifiers/notifications.html?hl=pt-br IOS  User notifications https://developer.apple.com/reference/usernotifications

Android, iOS - Guides for App Designer

ANDROID User Interface Guidelines https://developer.android.com/design/index.html?hl=pt-br Useful links https://material.io/ IOS  User Interface Guidelines https://developer.apple.com/ios/human-interface-guidelines/overview/design-principles/