README.md
MVPStarter
A repository to quick start an Android project in MVP architecture.
Usage
Clone MVPStarter to appropriate project folder
Example:
git clone http://farhan.ali@192.168.3.90:7990/scm/aar/mvpstarter.git <project_folder_name>
Update package entry in AndroidManifest.xml to appropriate one
Example:
package="com.tecsol.mvpstarter"
topackage="com.mtvindia.connect"
Update applicationId in app build.gradle
Example:
applicationId "com.tecsol.mvpstarter"
toapplicationId "com.mtvindia.connect"
Rename MvpApplication class within package .app to appropriate one
Example:
com.mtvindia.connect.app.MvpApplication
tocom.mtvinida.connect.app.MtvConnectApplication
Update USER_AGENT config in .app.Config to appropriate one
Example:
USER_AGENT = "Tecsol-MVPStarter-App"
toUSER_AGENT = "MtvConnect-Android-App"
Update strings.xml with appropriate values
Remove sample activity, presenter and layout files
Update/remove this README.md
Remove current git information and init with new project git setup, for example:
cd <project_folder_name> # remove existing .git folder if any rm -rf .git # init new git & add remote git init git remote add origin http://some_git_server/some_project.git # initial commit to master only with readme file git add README.md git commit -m "Initial commit" git push -u origin master # create develop branch and checkout git checkout -b develop # initial commit to develop with all other files git add --all git commit -m "Initial Commit" git push -u origin develop