Posts

Showing posts from March, 2022

Gride View in Firebase

Image
  <? xml version ="1.0" encoding ="utf-8" ?> < androidx.constraintlayout.widget.ConstraintLayout xmlns: android ="http://schemas.android.com/apk/res/android" xmlns: app ="http://schemas.android.com/apk/res-auto" xmlns: tools ="http://schemas.android.com/tools" android :layout_width ="match_parent" android :layout_height ="match_parent" tools :context =".MainActivity" > < 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" android :orientation ="vertical" tools :context =".MainActivity" > <!--Grid View for displaying our data from Firebase--> < GridView android :id ="@+id/...

Register in kotlin

 Xml :- <? xml version ="1.0" encoding ="utf-8" ?> < ScrollView xmlns: android ="http://schemas.android.com/apk/res/android" xmlns: app ="http://schemas.android.com/apk/res-auto" xmlns: tools ="http://schemas.android.com/tools" android :layout_width ="match_parent" android :layout_height ="match_parent" tools :context =".MainActivity" > < LinearLayout android :orientation ="vertical" android :layout_width ="match_parent" android :layout_height ="match_parent" > < EditText android :layout_width ="match_parent" android :layout_height ="wrap_content" android :hint ="Email" android :id ="@+id/registeremail" /> < EditText android :layout_width ="match_parent" android :layout_height ="wrap_con...

Insert Multiple Data in Kotlin

<? xml version ="1.0" encoding ="utf-8" ?> < manifest xmlns:android ="http://schemas.android.com/apk/res/android" package ="com.example.realtimedatabasekotlin" > < application android:allowBackup ="true" android:icon ="@mipmap/ic_launcher" android:label ="@string/app_name" android:roundIcon ="@mipmap/ic_launcher_round" android:supportsRtl ="true" android:theme ="@style/Theme.RealtimedatabaseKotlin" > < activity android:name =".UpdateData" > < intent-filter > < action android:name ="android.intent.action.MAIN" /> < category android:name ="android.intent.category.LAUNCHER" /> </ intent-filter > </ activity > < activity android:name =".ReadData" > ...