This file contains 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
<html> | |
<body> | |
<h2>Privacy Policy</h2> | |
<p>[Individual or Company Name] built the [App Name] app as a [open source | free | freemium | ad-supported | commercial] app. This SERVICE is provided by [Individual or company name] [at no cost] and is intended | |
for use as is.</p> | |
<p>This page is used to inform website visitors regarding [my|our] policies with the collection, use, and | |
disclosure of Personal Information if anyone decided to use [my|our] Service.</p> | |
<p>If you choose to use [my|our] Service, then you agree to the collection and use of information in | |
relation with this policy. The Personal Information that [I|we] collect are used for providing and | |
improving the Service. [I|We] will not use or share your information with anyone except as described |
This file contains 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
package sharif.vocapower.ui.adapter | |
import android.util.Log | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
import androidx.recyclerview.widget.* | |
import kotlinx.android.synthetic.main.item_primary_word_list.view.* | |
import kotlinx.android.synthetic.main.list_item_mnemonic.view.* | |
import sharif.vocapower.R |
This file contains 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
/** | |
* Check first character of a String is a letter [A-Z]. If first character is letter, return true otherwise return false. | |
* | |
* @param value input value as String | |
* @return return true if the first character is in the Range [A-Z] | |
*/ | |
private boolean isFirstCharacterLetter(String value){ | |
if (value == null || value.isEmpty()){ | |
return false; | |
} |
This file contains 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
package com.parser; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.util.Iterator; | |
import org.apache.poi.openxml4j.exceptions.InvalidFormatException; | |
import org.apache.poi.ss.usermodel.Cell; |
This file contains 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
Understanding Android's LayoutInflater.inflate() | |
https://www.bignerdranch.com/blog/understanding-androids-layoutinflater-inflate/ |
This file contains 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
A curvy layout like engage layout. | |
https://github.com/developer-shivam/Crescento |
This file contains 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
package com.assignment; | |
import java.util.ArrayList; | |
import java.util.Date; | |
import java.util.List; | |
public class Student { | |
private int id; | |
private String name, gender; | |
private Date dateOfBirth; |
This file contains 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
<!-- | |
android:colorAccent will affect your text colors of negative or positive buttons. | |
android:textColor will affect your title text color of dialog. | |
android:textColorPrimary will affect your message color of dialog.--> | |
<style name="GGDialog" parent="Theme.AppCompat.Light.Dialog.Alert"> | |
<item name="android:textColor">@color/theme_blue</item> | |
<item name="android:background">@color/white</item> | |
<item name="android:textColorPrimary">@color/theme_red</item> | |
<item name="colorAccent">@color/theme_red</item> | |
</style> |
This file contains 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
AlertDialog.Builder builder = new AlertDialog.Builder(this); | |
builder.setTitle(getString(R.string.new_group)); | |
final FrameLayout input = (FrameLayout) View.inflate(this, R.layout.dialog_profile_name_update, null); | |
final EditText editText = (EditText) input.findViewById(R.id.et_rename_profile_name); | |
editText.setHint(getString(R.string.hint_name_this_group_chat)); | |
editText.setText(getString(R.string.label_group)); | |
editText.setSelection(getString(R.string.label_group).length()); | |
builder.setView(input); | |
builder.setPositiveButton(getString(R.string.dialog_positive_btn_ok), new DialogInterface.OnClickListener() { |
NewerOlder