Posts

On Long click of any row/itemView display/visible checkbox in all row/itemView

Image
  (image list maximum 20 ,image like nature,flower) 1)Display image list in recyclerview with name,image 2)On click of image in recyclerview display image in dialog box 3)On Long click of any row/itemView display/visible checkbox in all row/itemView, 4)Display selected/checked image list into next page on submit button <? 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" > < androidx.recyclerview.widget.RecyclerView android :layout_width ="match_parent" android :layout_height ="match_parent" android :id ="@+id/r...

Call Log Open Android Studio

  < uses-permission android :name ="android.permission.ACCESS_NETWORK_STATE" /> < uses-permission android :name ="android.permission.CALL_PHONE" /> <? xml version ="1.0" encoding ="utf-8" ?> < LinearLayout 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" android :orientation ="vertical" android :gravity ="center" tools :context =".MainActivity" > < Button android :id ="@+id/button" android :layout_gravity ="center" android :layout_width ="wrap_content" android :layout_height ="wrap_content" android :text ="Check" /> < EditTex...

Retrofit url m

Image
  plugins { id 'com.android.application' } android { compileSdkVersion 30 buildToolsVersion "30.0.2" defaultConfig { applicationId "com.example.retrofitapp2" minSdkVersion 16 targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile( 'proguard-android-optimize.txt' ), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion . VERSION_1_8 targetCompatibility JavaVersion . VERSION_1_8 } } dependencies { implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.2.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.2' testImplemen...