Uncategorized

Android call activity methods from fragment , fragment method from activity and fragment method from fragment in kotlin in Android

1. Call activity method from fragment : 2. Call fragment method from activity 3. Call fragment method from fragment

Uncategorized

Android recycler view item click listener from Activity or Fragment

First Create an interface . NotfallKontakteEntity is Model of list items Then in adapter define and create constructor with click listener public OnItemClickListener listener;public NotfallKontakteAdapter(List<NotfallKontakteEntity> notfallKontakteEntityList, OnItemClickListener listener) { this.notfallKontakteEntityList = notfallKontakteEntityList; this.listener = listener;} Now just declare it any… Continue Reading…

Uncategorized

Android toggle visible password field easy way

Just paste these code for password edittext field

May 2019
M T W T F S S
« Mar   Oct »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Site Statistics

  • Users online: 0 
  • Visitors today : 6
  • Page views today : 6
  • Total visitors : 2,876
  • Total page view: 3,222