This file contains hidden or 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
| // Activity : Where you need to impement ConnectionListener | |
| public class ActivityWelcome extends AppCompatActivity implements ConnectionListener { | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(R.layout.activity_welcome); | |
| // Call |
This file contains hidden or 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
| // You Can Copy and paste this code in your fragment or activity... | |
| // Here I've paste code from my project, Do change whatever you want. | |
| // recyclerViewBookingList -> recyclerView | |
| // getCurrentListRef() : return a list... | |
| // | |
| private boolean isLoading = false; | |
| private void initScrollListener() { |
This file contains hidden or 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" encoding="utf-8"?> | |
| <!--use rotate tag to rotate the drawable--> | |
| <rotate | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:fromDegrees="0" | |
| android:pivotX="50%" | |
| android:pivotY="50%" | |
| android:toDegrees="360"> | |
| <!--shape tag is used to |