<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Angela Adisa  on Medium]]></title>
        <description><![CDATA[Stories by Angela Adisa  on Medium]]></description>
        <link>https://medium.com/@ambengeangela?source=rss-4d8dcff3b820------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sTKvMPs632G4QpJ9S0l5-Q.jpeg</url>
            <title>Stories by Angela Adisa  on Medium</title>
            <link>https://medium.com/@ambengeangela?source=rss-4d8dcff3b820------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:29:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ambengeangela/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Let’s create a new Django project]]></title>
            <link>https://medium.com/@ambengeangela/lets-create-a-new-django-project-a257122f9d68?source=rss-4d8dcff3b820------2</link>
            <guid isPermaLink="false">https://medium.com/p/a257122f9d68</guid>
            <dc:creator><![CDATA[Angela Adisa ]]></dc:creator>
            <pubDate>Wed, 21 Jun 2023 07:52:55 GMT</pubDate>
            <atom:updated>2023-06-21T07:52:55.053Z</atom:updated>
            <content:encoded><![CDATA[<p>Who else has difficulty with mastering commands? well, that is not going to change for any software developer because we consume lines of code through commands.</p><p>The trick is in practice, when you keep practicing they become usual to you and that’s how you start doing it with so much ease. Let us create a new Django project together.</p><p>Step 1</p><p>Navigate to the directory where you want to create your project</p><blockquote><strong><em>/Documents/Projects</em></strong></blockquote><p>Step 2</p><p>Once you are inside your directory enable a virtual environment. A virtual environment is an isolated environment that has its own dependencies separate from those on the host machine. This is where we install Django</p><blockquote><strong>python3 -m venv myenv</strong></blockquote><p>Step 3</p><p>Activate your virtual environment</p><blockquote><strong>source myenv/bin/activate</strong></blockquote><blockquote>To exit the virtual environment you just run <strong>deactivate</strong></blockquote><p>Step 4</p><p>Install Django on your environment, we use Pip(package installer Python)</p><p>Check the Python-based libraries installed.</p><blockquote><strong>pip install django</strong></blockquote><blockquote><strong>pip freeze</strong></blockquote><p>Step 5</p><p>Start your Django project. For example, your project is on a Restaurant web application</p><blockquote><strong>django-admin startproject restaurant</strong></blockquote><p>Step 6</p><p>Create individual apps of related objects that will be inside your project restaurant</p><blockquote><strong>python3 manage.py startapp customer</strong></blockquote><blockquote><strong>python3 manage.py startapp waiter</strong></blockquote><blockquote><strong>python3 manage.py startapp order</strong></blockquote><p>Step 7</p><p>Every time you make changes to your project models you must make migrations in order to enable new changes to the database</p><blockquote><strong>python3 manage.py makemigrations </strong>-to make the migrations</blockquote><blockquote><strong>python3 manage.py migrate</strong> — to configure the migrations</blockquote><p>Step 8</p><p>Create a superuser in order to access the Django admin dashboard</p><blockquote><strong>python3 manage.py createsuperuser</strong></blockquote><p>Step 9</p><p>Run the development server to view your project in the browser</p><blockquote><strong>python3 manage.py runserver</strong></blockquote><p>Step 10</p><p>To access the admin dashboard, add /admin to the local server&#39;s URL</p><blockquote><a href="http://127.0.0.1:8000/"><strong>http://127.0.0.1:8000/</strong></a><strong>admin</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a257122f9d68" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android RecyclerView]]></title>
            <link>https://medium.com/@ambengeangela/android-recyclerview-495358b55ab5?source=rss-4d8dcff3b820------2</link>
            <guid isPermaLink="false">https://medium.com/p/495358b55ab5</guid>
            <dc:creator><![CDATA[Angela Adisa ]]></dc:creator>
            <pubDate>Mon, 12 Jun 2023 05:58:13 GMT</pubDate>
            <atom:updated>2023-06-12T05:58:13.155Z</atom:updated>
            <content:encoded><![CDATA[<p>What made me understand this concept more easily was the use of examples that resonated with me. Imagine you are organizing a Gala event where you want to display a wide range of Ankara designs to your audience.</p><p>The Ankara designs represent the different clothing patterns you want to showcase. Each design won by a model will have unique attributes such as design name,description and the model will represent the image of the design.</p><p>To efficiently showcase the designs you will have different models wearing the designs walk on the runway,but not all at once,say you have 10models and 70 designs you will have the first 7 comeup on stage,as they leave one by one,another model takes up the stage. Congratulations! you just implemented recyclerview. The <strong>RecyclerView</strong> serves as the display system for your Ankara designs at the Gala event. It acts as a scrollable container that efficiently manages and displays a large number of Ankara designs.</p><p>How will the models coming up next on stage know its their time though?Logically you may have someone at the entrance of the stage who signals them when it’s their time. This person serves as the <strong>Adapter</strong>.<strong> </strong>He acts as the bridge between the models(Ankara designs) and the RecyclerView,fetches the next model to appear on our stage(recycler view).</p><p>Depending with the wideness of the stage,that is how we determine the number of models to cover the stage evenly, this represents(Viewholder)The ViewHolder coordinates with the adapter to optimize the performance of the RecyclerView. It acts as a holder for each display card, caching the references to the views inside the card (such as the design image, name, and description). This way, when scrolling through the designs, the views are reused, avoiding unnecessary memory and processing overhead.</p><p>You determine the layout of how the models will align on stage(RecyclerView). For example, you may choose a vertical layout, where each model stands behind the other, or a grid layout, where the models are arranged in rows and columns or horizontally depending on the preference of the organizer.</p><p>As the attendees view the Ankara designs, the RecyclerView(stage) efficiently manages the display by recycling and reusing the models. As a model moves off the stage, it is taken out of view and passed to the RecyclerView, which then repurposes it to display a new Ankara design that has come into view. This recycling mechanism ensures smooth showcasing and optimizes the use of the stage.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=495358b55ab5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>